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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-move-to-iframe.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/element-request-fullscreen-and-move-to-iframe.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-move-to-iframe.html b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-move-to-iframe.html
index 1a8c72f48701a2d3a73e899d0e58e4b10caa825e..9f041595a5e18497b2220e8e550ccefeffea34b8 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-move-to-iframe.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-and-move-to-iframe.html
@@ -15,11 +15,11 @@ async_test(t => {
iframeDoc.onfullscreenchange = t.unreached_func("fullscreenchange event in iframe");
iframeDoc.onfullscreenerror = t.unreached_func("fullscreenerror event in iframe");
- document.onfullscreenchange = t.step_func_done(() => {
+ document.onfullscreenchange = t.unreached_func("fullscreenchange event");
+ document.onfullscreenerror = t.step_func_done(() => {
assert_equals(document.fullscreenElement, null);
assert_equals(iframeDoc.fullscreenElement, null);
});
- document.onfullscreenerror = t.unreached_func("fullscreenerror event");
trusted_click(t.step_func(() => {
target.requestFullscreen();

Powered by Google App Engine
This is Rietveld 408576698