Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html

Issue 2573773002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: address feedback Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html
index 34f58dfea8d896d4f411f75f3a30b53a18e86f36..56bd35698d53786c2ae03bfce65eb27d6c7f16f4 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/full-screen-stacking-context.html
@@ -5,7 +5,9 @@
var runPixelTests = true;
function init() {
- waitForEventAndEnd(document, 'webkitfullscreenchange');
+ waitForEventOnce(document, 'webkitfullscreenchange', function() {
+ testRunner.layoutAndPaintAsyncThen(endTest);
+ });
runWithKeyDown(goFullScreen);
}

Powered by Google App Engine
This is Rietveld 408576698