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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/non-ancestor-iframe.html

Issue 1475863005: [Async][WIP] Call FrameLoader::checkCompleted() asynchronously to avoid sync body.onload() Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 months 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/non-ancestor-iframe.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/non-ancestor-iframe.html b/third_party/WebKit/LayoutTests/fullscreen/non-ancestor-iframe.html
index abab59b5dc187e67afaf085d087c4811d5887f55..9786f2a3aafb63f1365b50291b690e72ae3c7a83 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/non-ancestor-iframe.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/non-ancestor-iframe.html
@@ -9,16 +9,15 @@
waitForEventOnce(document, 'webkitfullscreenchange', function() {
waitForEvent(document, 'webkitfullscreenchange', function() {
- logResult(false, 'Exited full screen');
+ logResult(false, 'Exited full screen');
+ });
+ waitForEvent(iframe, 'load', function() {
+ testExpected("document.webkitIsFullScreen", true);
+ endTest();
});
iframe.src = 'resources/empty.html';
});
- waitForEvent(iframe, 'load', function() {
- testExpected("document.webkitIsFullScreen", true);
- endTest();
- });
-
var startTest = function() {
target.webkitRequestFullscreen();
};

Powered by Google App Engine
This is Rietveld 408576698