Closed
Bug 1479471
Opened 6 years ago
Closed 6 years ago
[wpt-sync] Sync PR 12198 - Update buffered amount when async callbacks are called
Categories
(Testing :: web-platform-tests, enhancement, P4)
Testing
web-platform-tests
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 12198 into mozilla-central (this bug is closed when the sync is complete). PR: https://github.com/web-platform-tests/wpt/pull/12198 Details from upstream follow. Adam Rice <ricea@chromium.org> wrote: > Update buffered amount when async callbacks are called > > If an asynchronous callback is called, it means we must have returned to > the start of the event loop. Ensure that any consumed bufferedAmount is > reflected in that case. Do not reflect bufferedAmount if the EventQueue > is paused, as that means that we may be in a nested event loop. > > Add a unit test for this case. Also add a unit test for normal > bufferedAmount behaviour, as there wasn't one. > > Add a web platform test for what happens if a sync XHR is performed > between calling send() and looking at bufferedAmount. > > BUG=856651 > > Change-Id: Iafa2d619a1eb5284b64500ac03d336fb6380193b > Reviewed-on: https://chromium-review.googlesource.com/1151086 > WPT-Export-Revision: 3c3e17817d5adbb16c1f7ce21814a7e7bf2d6b77
Assignee | ||
Comment 1•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=25a2f0914597fdc3c6d2a33707b30c1a5b277423
Assignee | ||
Comment 2•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=bc6286927cffe30e2403e5d124eacff1c2cc0540
Assignee | ||
Comment 3•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=0cbd27f6752790e3a0919c22b4dd094f152653b3
Assignee | ||
Comment 4•6 years ago
|
||
Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=27bfeccc5751bc1191bc9bc509bea7c8cc4276af
Assignee | ||
Comment 5•6 years ago
|
||
Ran 3 tests and 3 subtests OK : 3 PASS : 2[linux32-debug], 3[linux32-opt,linux64-debug,linux64-opt] FAIL : 1[linux32-debug] New tests that have failures or other problems: /websockets/bufferedAmount-unchanged-by-sync-xhr.any.html bufferedAmount should not be updated during a sync XHR: FAIL[linux32-debug]
Assignee | ||
Comment 6•6 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=5b911b5c0abb3e63a41193a215c2898779ea5328
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4bb7cfcec74f [wpt PR 12198] - Update buffered amount when async callbacks are called, a=testonly https://hg.mozilla.org/integration/mozilla-inbound/rev/94106f7660b1 [wpt PR 12198] - Update wpt metadata, a=testonly
Comment 8•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4bb7cfcec74f https://hg.mozilla.org/mozilla-central/rev/94106f7660b1
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in
before you can comment on or make changes to this bug.
Description
•