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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-vs-exit.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/api/element-request-fullscreen-vs-exit.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-vs-exit.html b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-vs-exit.html
index a766a6f393633d5cd46ebe386e820dbaa97a5afe..ad5ed1e8f36614d927c157d0d3c6a898bbaa6c2a 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-vs-exit.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-vs-exit.html
@@ -18,7 +18,7 @@ async_test(t => {
document.onfullscreenerror = t.unreached_func("fullscreenerror event");
target.requestFullscreen();
- assert_equals(document.fullscreenElement, target, "fullscreenElement after requestFullscreen()");
+ assert_equals(document.fullscreenElement, null, "fullscreenElement after requestFullscreen()");
document.exitFullscreen();
assert_equals(document.fullscreenElement, null, "fullscreenElement after exitFullscreen()");
}), document.body);

Powered by Google App Engine
This is Rietveld 408576698