diff --git a/index.bs b/index.bs index 1a6e1fd..6fce1fa 100644 --- a/index.bs +++ b/index.bs @@ -390,7 +390,8 @@ user agents must run the following steps: a copy of the bytes held by the buffer source, and append those bytes to bytes. 4. If element is a {{Blob}}, append the bytes it represents to bytes. - The {{Blob/type}} of the {{Blob}} array element is ignored. + The {{Blob/type}} of the {{Blob}} array element is ignored and will not effect {{Blob/type}} of returned + {{Blob}} object. 5. If the {{BlobPropertyBag/type}} member of the optional options argument is provided and is not the empty string, @@ -407,11 +408,6 @@ user agents must run the following steps: with its {{Blob/size}} set to the length of bytes, and its {{Blob/type}} set to the value of t from the substeps above. - Note: The type t of a {{Blob}} is considered a parsable MIME type - if the ASCII-encoded string representing the Blob object's type, - when converted to a byte sequence, - does not return undefined for the parse a MIME type algorithm. -

Constructor Parameters

@@ -487,6 +483,14 @@ Attributes especially if the byte sequence is from an on-disk file; in this case, further normative conditions are in the file type guidelines. + Note: The type t of a {{Blob}} is considered a parsable MIME type, + if performing the parse a MIME type algorithm to a byte sequence converted from + the ASCII-encoded string representing the Blob object's type does not return undefined. + + Note: Use of the {{Blob/type}} attribute informs the encoding determination + and parsing the Content-Type header + when dereferencing Blob URLs. +
isClosed
The boolean value that indicates whether the {{Blob}} is in the CLOSED readability state. On getting, user agents must return false @@ -495,9 +499,6 @@ Attributes as a result of the {{Blob/close()}} method being called. -Note: Use of the {{Blob/type}} attribute informs the encoding determination -and parsing the Content-Type header -when dereferencing Blob URLs.

Methods and Parameters

@@ -508,7 +509,7 @@ The slice method The slice() method returns a new {{Blob}} object with bytes ranging from the optional {{start}} parameter -upto but not including the optional {{end}} parameter, +up to but not including the optional {{end}} parameter, and with a {{Blob/type}} attribute that is the value of the optional {{contentType!!argument}} parameter. It must act as follows: @@ -562,11 +563,6 @@ It must act as follows: beginning with the byte at byte-order position relativeStart.
  • S.{{Blob/size}} = span.
  • S.{{Blob/type}} = relativeContentType. - - Note: The type t of a {{Blob}} is considered a parsable MIME type - if the ASCII-encoded string representing the Blob object's type, - when converted to a byte sequence, - does not return undefined for the parse a MIME type algorithm.
    @@ -605,7 +601,7 @@ It must act as follows: The close method The close() method is said to close a {{Blob}}, -and must act as follows on the {{Blob}} on which the method has been called: +and must act as follows: 1. If the readability state of the context object is CLOSED, terminate this algorithm. @@ -727,11 +723,6 @@ user agents must run the following steps: 3. F.{{Blob/size}} is set to the number of total bytes in bytes. 4. F.{{File/name}} is set to n. 5. F.{{Blob/type}} is set to t. - - Note: The type t of a {{File}} is considered a parsable MIME type - if the ASCII-encoded string representing the File object's type, - when converted to a byte sequence, - does not return undefined for the parse a MIME type algorithm. 6. F.{{File/lastModified}} is set to d.