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

Side by Side Diff: LayoutTests/fullscreen/full-screen-frameset.html

Issue 356303004: Disallow fullscreen from within <frame>, even with allowfullscreen (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-frameset-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="full-screen-test.js"></script> 1 <script src="full-screen-test.js"></script>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpChildFramesAsText(); 4 testRunner.dumpChildFramesAsText();
5 5
6 var waitingFor = 2; 6 var waitingFor = 2;
7 function runTest() { 7 function runTest() {
8 if (--waitingFor) 8 if (--waitingFor)
9 return; 9 return;
10 var frame = document.getElementById('frame'); 10 var frame = document.getElementById('frame');
(...skipping 12 matching lines...) Expand all
23 endTest(); 23 endTest();
24 if (testRunner) 24 if (testRunner)
25 testRunner.notifyDone(); 25 testRunner.notifyDone();
26 }, 50); 26 }, 50);
27 27
28 frame.contentDocument.documentElement.webkitRequestFullScreen(); 28 frame.contentDocument.documentElement.webkitRequestFullScreen();
29 }); 29 });
30 } 30 }
31 </script> 31 </script>
32 <frameset rows="150,*"> 32 <frameset rows="150,*">
33 <frame name="header" src="resources/not-allowed.html" webkitfullscreenallowe d onload="runTest()"> 33 <frame name="header" src="resources/not-allowed.html" onload="runTest()">
34 <frame id="frame" name="frame" src="resources/inner.html" onload="runTest()" > 34 <frame id="frame" name="frame" src="resources/inner.html" allowfullscreen on load="runTest()">
35 </frameset> 35 </frameset>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fullscreen/full-screen-frameset-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698