Closed Bug 1652459 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 24577 - Streams: Update queuing strategies to match standard

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox80 fixed)

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Adam Rice <ricea@chromium.org> wrote:

Streams: Update queuing strategies to match standard

Update the IDL for ByteLengthQueuingStrategy and CountQueuingStrategy
to match the standard.

The most noticeable semantic difference is that incorrect calls like
new CountQueuingStrategy(10), which previously silently gave
you the default highWaterMark, will now throw an exception.

Also cache the "size" function on the global object. Add a test that
iframes have a different "size" function, since they have a different
global object.

Change-Id: I9b6763944c0abc278451c28a4fcf615f624e1fdb

Reviewed-on: https://chromium-review.googlesource.com/2104815
WPT-Export-Revision: a00c406d24247bc31b9893865f7abc0b1ae298b0

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS: 2

Chrome

OK : 1
PASS: 2

Safari

OK : 1
PASS: 2

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/318459f4709b
[wpt PR 24577] - Streams: Update queuing strategies to match standard, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in before you can comment on or make changes to this bug.