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