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

Unified Diff: third_party/WebKit/LayoutTests/fullscreen/api/element-request-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/element-request-fullscreen-twice.html
diff --git a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-twice.html b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-twice.html
index 80d1761e8fa235a303523f4111b3f1d20fbe06df..ca12ccf1066f1e3cf0acba5adc9698f200f74b76 100644
--- a/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-twice.html
+++ b/third_party/WebKit/LayoutTests/fullscreen/api/element-request-fullscreen-twice.html
@@ -21,9 +21,9 @@ async_test(t => {
trusted_click(t.step_func(() => {
// Request fullscreen twice.
div.requestFullscreen();
- assert_equals(document.fullscreenElement, div, "fullscreenElement after first requestFullscreen()");
+ assert_equals(document.fullscreenElement, null, "fullscreenElement after first requestFullscreen()");
div.requestFullscreen();
- assert_equals(document.fullscreenElement, div, "fullscreenElement after second requestFullscreen()");
+ assert_equals(document.fullscreenElement, null, "fullscreenElement after second requestFullscreen()");
}), document.body);
});
</script>

Powered by Google App Engine
This is Rietveld 408576698