Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intent to implement and ship: blob.text(), blob.arrayBuffer(), blob.stream()

105 views
Skip to first unread message

Andrea Marchesini

unread,
Jun 7, 2019, 8:47:29 AM6/7/19
to dev-platform
Summary: implement and ship 3 new methods to read Blob contents:
blob.text(), blob.arrayBuffer() and blob.stream().

Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1557121

Link to standard: https://w3c.github.io/FileAPI
https://github.com/w3c/FileAPI/pull/117

Platform coverage: all.

Estimated or target release: 69

Preference behind which this will be implemented: none.

Do other browser engines implement this?
Chrome has already shipped these methods. See:
https://bugs.chromium.org/p/chromium/issues/detail?id=945893
Safari hasn't started to work on them yet. See:
https://bugs.webkit.org/show_bug.cgi?id=196258

web-platform-tests: We have existing WPTs. See:
https://github.com/web-platform-tests/wpt/blob/master/FileAPI/blob

Is this feature restricted to secure contexts? No.

Boris Zbarsky

unread,
Jun 7, 2019, 10:27:49 AM6/7/19
to
On 6/7/19 8:47 AM, Andrea Marchesini wrote:
> Summary: implement and ship 3 new methods to read Blob contents:
> blob.text(), blob.arrayBuffer() and blob.stream().

Looks good to me.

-Boris
0 new messages