Closed Bug 1526575 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 15235 - WritableStream: test writer behaviour

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 15235 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/15235
Details from upstream follow.

Adam Rice <ricea@chromium.org> wrote:

WritableStream: test writer behaviour

Tests for a couple of bugs found in Blink's new C++ implementation:

  1. Verify that the WritableStreamDefaultWriter() constructor does not
    detach the existing writer when it is called on a locked stream.
  2. Verify that the first write on a stream with HWM 0 does not cause the
    ready promise to fulfill.

The reference implementation passes these tests without change.

Component: web-platform-tests → DOM
Product: Testing → Core
Ran 5 tests


Tests that are disabled for instability:
/streams/writable-streams/write.any.html
/streams/writable-streams/write.any.js
/streams/writable-streams/write.any.serviceworker.html
/streams/writable-streams/write.any.sharedworker.html
/streams/writable-streams/write.any.worker.html
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/f696ba1d27b2
[wpt PR 15235] - WritableStream: test writer behaviour, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.