Bug 1486894 [wpt PR 12728] - Fix fullscreen WPT tests assuming fullscreenElement...
commit066d24eead117f6219d08964e4fab7ee5dab44fa
authorDave Tapuska <dtapuska@chromium.org>
Tue, 4 Sep 2018 18:28:10 +0000 (4 18:28 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 5 Sep 2018 13:08:52 +0000 (5 13:08 +0000)
treece049bb146595a0eef9addaf6021c838f66d46f5
parente50e656603bb632639e2d7ea4ec45a6353fded61
Bug 1486894 [wpt PR 12728] - Fix fullscreen WPT tests assuming fullscreenElement changes each time., a=testonly

Automatic update from web-platform-testsFix fullscreen WPT tests assuming fullscreenElement changes each time.

Since fullscreenchange event is sent by the rAF event loop it is possible
that the fullscreenElement might change and not be observed at the time
you read the event. Fix the tests so they are robust.

Fix the ordering of which fullscreen elements are handled in pending
frames. Otherwise we might end up with incorrect ordering.

BUG=874444

Change-Id: I00c228e0aea7794564e522a3883573ea359235f1
Reviewed-on: https://chromium-review.googlesource.com/1194726
Commit-Queue: Dave Tapuska <dtapuska@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Cr-Commit-Position: refs/heads/master@{#587170}

--

wpt-commits: 9be7cfef2e90378b3db6d6e75b80ba6f929786c5
wpt-pr: 12728
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/fullscreen/api/element-request-fullscreen-two-elements-manual.html
testing/web-platform/tests/fullscreen/api/element-request-fullscreen-two-iframes-manual.html