Closed Bug 1715943 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 29339 - [BreakoutBox] Replace MSTP::is_pending_pull_ with a counter

Categories

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

task

Tracking

(firefox91 fixed)

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Guido Urdaneta <guidou@chromium.org>' wrote:

[BreakoutBox] Replace MSTP::is_pending_pull_ with a counter

|is_pending_pull_| was used to make sure that frames were made available
to the stream only if there was a pending pull request.

However, if multiple pull requests are issued and then no more pull
requests arrive, some of the corresponding read requests will remain
unsettled when |is_pending_pull_| becomes false.

This CL fixes this by replacing the boolean |is_pending_pull_| with a
counter.

Bug: 1218120
Change-Id: I0ffc038a73a6cd1d387dc17e9c21f2c62fc50613
Reviewed-on: https://chromium-review.googlesource.com/2950171
WPT-Export-Revision: c96d6a799721fb3350b0f68edbf7f4fbe0115d07

PR 29339 applied with additional changes from upstream: 5a38eb70ae628d857359a5677600d5c3cd803aa6

CI Results

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

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL : 3

Chrome

PASS : 1
TIMEOUT: 2
NOTRUN : 1

Safari

OK : 1
FAIL : 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/mediacapture-insertable-streams/MediaStreamTrackProcessor-video.https.html
Tests that the reader of a video MediaStreamTrackProcessor produces video frames and is closed on track stop: FAIL (Chrome: PASS, Safari: FAIL)
Tests that the reader of a video MediaStreamTrackProcessor produces VideoFrame objects and is closed on track stop while running on a worker: FAIL (Chrome: TIMEOUT, Safari: FAIL)
Tests that multiple read requests are eventually settled: FAIL (Chrome: NOTRUN, Safari: FAIL)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d54957d2507b [wpt PR 29339] - [BreakoutBox] Replace MSTP::is_pending_pull_ with a counter, a=testonly https://hg.mozilla.org/integration/autoland/rev/6db455db0d2c [wpt PR 29339] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch
You need to log in before you can comment on or make changes to this bug.