Skip to content

buffer: add Blob.prototype.stream method and other cleanups

Rodrigo Muino Tomonari requested to merge github/fork/jasnell/blob2 into master

There are a couple of changes here:

  1. It cleans up the Blob implementation to better match the spec.
  2. It adds the Blob.prototype.stream() method to get a ReadableStream from a Blob
  3. It enables the relevant web platform tests for stream()
  4. It adds an experimental implementation of URL.createObjectURL(), URL.revokeObjectURL(), and buffer.resolveObjectURL(). The URL.createObjectURL() and URL.revokeObjectURL() are standard Web Platform API.

/cc @bmeck

Merge request reports

Loading