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

Side by Side Diff: LayoutTests/fullscreen/full-screen-remove-ancestor-during-transition.html

Issue 355343002: Harden a fullscreen transition test (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-remove-ancestor-during-transition-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <script src="../resources/js-test.js"></script> 1 <script src="../resources/js-test.js"></script>
2 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 } 6 }
7 7
8 function runWithKeyDown(fn) 8 function runWithKeyDown(fn)
9 { 9 {
10 document.addEventListener('keydown', function() { fn(); }, false); 10 document.addEventListener('keydown', function() { fn(); }, false);
(...skipping 17 matching lines...) Expand all
28 setTimeout(function () { 28 setTimeout(function () {
29 iframe.parentNode.removeChild(iframe); 29 iframe.parentNode.removeChild(iframe);
30 gc(); 30 gc();
31 setTimeout(function () { 31 setTimeout(function () {
32 if (window.testRunner) { 32 if (window.testRunner) {
33 testRunner.notifyDone(); 33 testRunner.notifyDone();
34 } 34 }
35 }, 0); 35 }, 0);
36 }, 0); 36 }, 0);
37 element.webkitRequestFullScreen(); 37 element.webkitRequestFullScreen();
38 shouldNotBe("document.webkitFullscreenElement", "null");
38 } 39 }
39 </script> 40 </script>
40 <body onload="init()"> 41 <body onload="init()">
41 <iframe webkitallowfullscreen src="resources/inner.html" id="block1"></ifram e> 42 <iframe webkitallowfullscreen src="resources/inner.html" id="block1"></ifram e>
42 PASS 43 PASS
43 </body> 44 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-remove-ancestor-during-transition-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698