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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/fullscreen/api/document-fullscreen-enabled-active-document.html

Issue 2572333003: Import wpt@4970d7334aaf8977c5b617075aa48be1b6e482c7 (Closed)
Patch Set: Update TestExpectations 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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>Document#fullscreenEnabled when the document is not the active document</ title>
3 <script src="/resources/testharness.js"></script>
4 <script src="/resources/testharnessreport.js"></script>
5 <div id="log"></div>
6 <iframe allowfullscreen></iframe>
7 <script>
8 var t = async_test();
9
10 onload = t.step_func(() => {
11 var iframe = document.querySelector("iframe");
12 var documentBeforeNav = iframe.contentDocument;
13
14 iframe.onload = t.step_func_done(() => {
15 assert_false(documentBeforeNav.fullscreenEnabled);
16 });
17
18 // Navigate the iframe
19 window[0].location.href = '/common/blank.html';
20 });
21 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698