* 仕様書

[REFS[
- [2] '''[CITE[File API]] ([TIME[2015-04-17 16:25:21 +09:00]] 版) <https://w3c.github.io/FileAPI/#blob>'''
- [10] [CITE@en-GB-x-hixie[HTML Standard]] ([TIME[2015-05-06 10:42:35 +09:00]] 版) <https://html.spec.whatwg.org/#dom-binarytype-blob>
]REFS]

* 生成

[3] [CODE(DOMi)@en[[[Blob]]]] [[オブジェクト]]は次の方法で得られます。
[FIG(list)[
- [CODE(DOMi)@en[[[Blob]]]] [[コンストラクター]]
- [CODE(HTML)@en[[[<input type=file>]]]].[CODE(DOMa)@en[[[files]]]] ([CODE(DOMi)@en[[[File]]]])
- [CODE(DOMi)@en[[[DataTransfer]]]] [CODE(DOMa)@en[[[files]]]] ([CODE(DOMi)@en[[[File]]]])
- [CODE(DOMi)@en[[[DataTransferItem]]]] [CODE(DOMa)@en[[[getAsFile]]]] ([CODE(DOMi)@en[[[File]]]])
- [CODE(DOMm)@en[[[toBlob]]]] ([CODE(DOMi)@en[[[File]]]])
- [CODE(DOMi)@en[[[Blob]]]] [CODE(DOMm)@en[[[blob]]]]
- [[XHR]] [CODE(DOMa)@en[[[response]]]]
- [[WebSocket]] [CODE(DOMi)@en[[[MessageEvent]]]] の [CODE(DOMa)@en[[[data]]]]
- [[構造化クローン]]
]FIG]

* [CODE(DOMi)@en[BinaryType]] の値 [CODE(DOM)@en[blob]]

[13] [[列挙型]] [CODE(DOMi)@en[[[BinaryType]]]] の値
[DFN[[CODE(DOM)@en[[[blob]]]]]] は、 [CODE(DOMi)@en[[[Blob]]]]
として返すべきことを表します [SRC[>>10]]。

* [CODE(URI)@en[blob:]] URL

[1] [CODE(DOMi)@en[[[Blob]]]] には [[Blob URL]] ([CODE(URI)@en[[[blob:]]]])
を発行させることができます。

* 実装

[11] [CITE@en-US[Blob - Web API interfaces | MDN]]
( ([TIME[2013-09-30 14:47:18 +09:00]] 版))
<https://developer.mozilla.org/en-US/docs/Web/API/Blob?redirectlocale=en-US&redirectslug=DOM%2FBlob>

[4] [CITE@en-US[Blob() - Web API Interfaces | MDN]]
([TIME[2015-02-21 04:06:48 +09:00]] 版)
<https://developer.mozilla.org/en-US/docs/Web/API/Blob/Blob>

[5] [CITE@en[Fix #48: align with HTML's form submission algorithm · whatwg/xhr@7b1941f]]
([TIME[2016-01-22 23:25:50 +09:00]] 版)
<https://github.com/whatwg/xhr/commit/7b1941fbd5347433734a491c36ef8ea6485e7dfb>

[6] [CITE@en[Use the concept of a 'closed' Blob from FileAPI · whatwg/html@efd6202]]
([TIME[2016-02-03 12:25:21 +09:00]] 版)
<https://github.com/whatwg/html/commit/efd62026f44f6c89bfd8415795db1fef4edccafc>

[7] [CITE@en[Write structured clone algorithm in terms of ECMAScript · whatwg/html@bfb960c]]
([TIME[2016-03-02 16:42:28 +09:00]] 版)
<https://github.com/whatwg/html/commit/bfb960c938580c95e77365e614218b952f96375b>

[8] [CITE@en[Breaking: refactor structured clone into serialize/deserialize]]
([[domenic]]著, [TIME[2017-03-21 06:09:33 +09:00]])
<https://github.com/whatwg/html/commit/97d644c97335956610a31e8ad98d1a388c063e84>

[9] [CITE@en[Editorial: URL parsing relies on Blob URL Store lookup]]
([[annevk]]著, [TIME[2017-03-22 22:44:15 +09:00]])
<https://github.com/whatwg/html/commit/a0a23b96872a81e224c80881e71d58d8326e472e>

[12] [CITE@en[1312410 - Fetch should reuse XHR's 'store large blobs in temp files' -setup]]
([TIME[2017-07-28 16:50:12 +09:00]])
<https://bugzilla.mozilla.org/show_bug.cgi?id=1312410>

[14] [CITE@en[Add serialization and deserialization steps to Blob/File/FileList int…]]
([[mkruisselbrink]]著, [TIME[2017-09-26 07:20:26 +09:00]])
<https://github.com/w3c/FileAPI/commit/828c3b6a44195298790b32507c40163703d5ba3e>

[15] [CITE@en[Remove FileAPI monkey-patch]]
([[mkruisselbrink]]著, [TIME[2017-09-26 23:49:10 +09:00]])
<https://github.com/whatwg/html/commit/766dcd3b73b9639aad9bbc8529741f7d516f00d7>

[16] [CITE@en[Remove FileAPI monkey-patch. by mkruisselbrink · Pull Request #3071 · whatwg/html]]
([TIME[2017-09-27 16:12:40 +09:00]])
<https://github.com/whatwg/html/pull/3071>

[17] [CITE@en[fetch assumes a url's object is always a Blob · Issue #457 · whatwg/fetch]]
([TIME[2018-04-19 13:06:47 +09:00]])
<https://github.com/whatwg/fetch/issues/457>