Closed Bug 1658959 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 24996 - Delay restarting inline rAF loop until page is notified of session end

Categories

(Core :: WebVR, task, P4)

task

Tracking

()

RESOLVED FIXED
82 Branch
Tracking Status
firefox82 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Alexander Cooper <alcooper@chromium.org> wrote:

Delay restarting inline rAF loop until page is notified of session end

Currently the inline rAF loop gets restarted before the page is
notified that the immersive session has ended. This causes some flaky
test cases where the inline callback is serviced before the page knows
that it's okay, since the immersive session has ended. This change
splits the FrameProvider's OnSessionEnded logic such that it can be
notified of the fact that there is no longer an immersive session before
the page is (so that the page is not blocked from requesting a new
immersive session), while only re-starting the inline rAF loops after
the page has been notified.

Fixed:1062195
Change-Id: I2ccf63d476b7f857bc53e9c15bedc07a13fdfed6
Reviewed-on: https://chromium-review.googlesource.com/2354537
WPT-Export-Revision: a398e2acf8df7e667bd4f58f1884abd4e80e3892

Component: web-platform-tests → WebVR
Product: Testing → Core

CI Results

Ran 12 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
FAIL : 2

Chrome

FAIL : 2
ERROR: 1

Safari

OK : 1
FAIL : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/webxr/xrSession_requestSessionDuringEnd.https.html: OK [Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] (Chrome: ERROR, Safari: OK)
Create new session in OnSessionEnded event: FAIL (Chrome: FAIL, Safari: FAIL)
Create mew session in end promise: FAIL (Chrome: FAIL, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/webxr/xrSession_requestSessionDuringEnd.https.html: OK [Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt, GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] (Chrome: ERROR, Safari: OK)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/00297ea53722 [wpt PR 24996] - Delay restarting inline rAF loop until page is notified of session end, a=testonly https://hg.mozilla.org/integration/autoland/rev/43dd7a0e496d [wpt PR 24996] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
You need to log in before you can comment on or make changes to this bug.