Closed Bug 1459853 Opened 7 years ago Closed 7 years ago

[wpt-sync] Sync PR 10886 - ReadableStreamBytesConsumer should check read results

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 10886 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/w3c/web-platform-tests/pull/10886 Details from upstream follow. Yutaka Hirano <yhirano@chromium.org> wrote: > ReadableStreamBytesConsumer should check read results > > ReadableStreamBytesConsumer expected that the results from > ReadableStreamReaderDefaultRead should be Promise<Object> because that > is provided from ReadableStream provided by blink, but it's possible to > inject arbitrary values with the promise assimilation. > > This CL adds additional checks for such injection. > > Bug: 840320 > Change-Id: I7b3c6a8bfcf563dd860b133ff0295dd7a5d5fea5 > Reviewed-on: https://chromium-review.googlesource.com/1049413 > WPT-Export-Revision: c8eff1b65a5d2bbe3e198c2cbb8419b519f0906c
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 2 tests TIMEOUT: 2 New tests that have failures or other problems: /fetch/api/response/response-stream-with-broken-then.any.html: TIMEOUT /fetch/api/response/response-stream-with-broken-then.any.worker.html: TIMEOUT
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/ca3d50f382da [wpt PR 10886] - ReadableStreamBytesConsumer should check read results, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/ec8b05d0af84 [wpt PR 10886] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.