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

Unified Diff: LayoutTests/fullscreen/full-screen-cancel-nested-expected.txt

Issue 434903002: Make webkitCancelFullScreen() an alias of webkitExitFullscreen() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: polish test Created 6 years, 4 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
« no previous file with comments | « LayoutTests/fullscreen/full-screen-cancel-nested.html ('k') | Source/core/dom/DocumentFullscreen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fullscreen/full-screen-cancel-nested-expected.txt
diff --git a/LayoutTests/fullscreen/full-screen-twice-expected.txt b/LayoutTests/fullscreen/full-screen-cancel-nested-expected.txt
similarity index 52%
copy from LayoutTests/fullscreen/full-screen-twice-expected.txt
copy to LayoutTests/fullscreen/full-screen-cancel-nested-expected.txt
index 5f1943df59d792e254165d76d2322d79e131a7d2..dbf7251f0819a5a6f6eb628f64bfae4e2a2f5343 100644
--- a/LayoutTests/fullscreen/full-screen-twice-expected.txt
+++ b/LayoutTests/fullscreen/full-screen-cancel-nested-expected.txt
@@ -1,6 +1,10 @@
+Test that webkitCancelFullScreen only exits one level of fullscreen
+
+EVENT(webkitfullscreenchange)
+EXPECTED (document.webkitCurrentFullScreenElement == '[object HTMLDivElement]') OK
EVENT(webkitfullscreenchange)
EXPECTED (document.webkitCurrentFullScreenElement == '[object HTMLSpanElement]') OK
EVENT(webkitfullscreenchange)
-EXPECTED (document.webkitCurrentFullScreenElement == '[object HTMLHtmlElement]') OK
+EXPECTED (document.webkitCurrentFullScreenElement == '[object HTMLDivElement]') OK
END OF TEST
« no previous file with comments | « LayoutTests/fullscreen/full-screen-cancel-nested.html ('k') | Source/core/dom/DocumentFullscreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698