[w3c/FileAPI] Rewrite a lot of the internals of Blobs to make reading more explicit. (#154)

This redefines how blobs work by adding internal slots and hooks to
support Blob objects backed by various sources of data. By doing so this
tries to make more explicit how various edge cases behave, as well as
making it clear that blobs are immutable.

This fixes #75, fixes #99, and fixes #47.
It also lays the ground work to address w3c/webappsec-clear-site-date#49.

This also fixes #71.

For *normative* changes, the following tasks have been completed:

 * [ ] Modified Web platform tests (link to pull request)

Implementation commitment:

 * [ ] WebKit (https://bugs.webkit.org/show_bug.cgi?id=)
 * [x] Chromium (matches the currently implemented behavior)
 * [ ] Gecko (https://bugzilla.mozilla.org/show_bug.cgi?id=)


<!--
    This comment and the below content is programatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.s3.amazonaws.com/w3c/FileAPI/pull/154.html" title="Last updated on May 21, 2020, 6:23 PM UTC (40f442d)">Preview</a> | <a href="https://pr-preview.s3.amazonaws.com/w3c/FileAPI/154/e37f553...40f442d.html" title="Last updated on May 21, 2020, 6:23 PM UTC (40f442d)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/FileAPI/pull/154

-- Commit Summary --

  * Rewrite a lot of the internals of Blobs to make reading more explicit.

-- File Changes --

    M index.bs (817)

-- Patch Links --

https://github.com/w3c/FileAPI/pull/154.patch
https://github.com/w3c/FileAPI/pull/154.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/FileAPI/pull/154

Received on Thursday, 21 May 2020 18:23:33 UTC