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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/api/document-exit-fullscreen-twice.html

Issue 2557943002: Sync requestFullscreen() and exitFullscreen() algorithms with the spec (Closed)
Patch Set: rebase 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/api/document-exit-fullscreen-twice.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/api/document-exit-fullscreen-twice.html b/third_party/WebKit/LayoutTests/fullscreen/api/document-exit-fullscreen-twice.html
index fbf429eba5246ecccce5403aa9381e19730d927a..e3bb5ae98ae82d7de78788abfea905423699d4b8 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/api/document-exit-fullscreen-twice.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/api/document-exit-fullscreen-twice.html
@@ -23,9 +23,9 @@ async_test(t => {
// Exit fullscreen twice.
document.exitFullscreen();
- assert_equals(document.fullscreenElement, null, "fullscreenElement after first exitFullscreen()");
+ assert_equals(document.fullscreenElement, div, "fullscreenElement after first exitFullscreen()");
document.exitFullscreen();
- assert_equals(document.fullscreenElement, null, "fullscreenElement after second exitFullscreen()");
+ assert_equals(document.fullscreenElement, div, "fullscreenElement after second exitFullscreen()");
});
document.onfullscreenerror = t.unreached_func("fullscreenerror event");

Powered by Google App Engine
This is Rietveld 408576698