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

Side by Side Diff: LayoutTests/plugins/fullscreen-plugins-dont-reload.html

Issue 8218020: Merge 95371 - Don't detach elements from the render tree when entering fullscreen mode (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/plugins/fullscreen-plugins-dont-reload-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 <html> 1 <html>
2 <a id='link' href="javascript:document.getElementById('plg').webkitRequestFullSc reen()">go 2 <a id='link' href="javascript:document.getElementById('plg').webkitRequestFullSc reen()">go
3 fullscreen</a> 3 fullscreen</a>
4 <p> 4 <p>
5 There should only be one ALERT. If there were two, the plugin was reloaded 5 There should only be one ALERT. If there were two, the plugin was reloaded
6 during the transition to fullscreen. 6 during the transition to fullscreen.
7 </p> 7 </p>
8 <embed id="plg" type="application/x-webkit-test-netscape" src="data:application/ x-webkit-test-netscape,alertwhenloaded"></iframe> 8 <embed id="plg" type="application/x-webkit-test-netscape" src="data:application/ x-webkit-test-netscape,alertwhenloaded"></iframe>
9 9
10 <script> 10 <script>
11 if (window.layoutTestController) { 11 if (window.layoutTestController) {
12 layoutTestController.dumpAsText(); 12 layoutTestController.dumpAsText();
13 layoutTestController.waitUntilDone(); 13 layoutTestController.waitUntilDone();
14 14
15 var plugin = document.getElementById('plg'); 15 var plugin = document.getElementById('plg');
16 plugin.addEventListener('webkitfullscreenchange', function () { 16 plugin.addEventListener('webkitfullscreenchange', function () {
17 layoutTestController.notifyDone(); 17 layoutTestController.notifyDone();
18 }) 18 })
19 document.addEventListener('keydown', function () { 19 document.addEventListener('keydown', function () {
20 plugin.webkitRequestFullScreen(); 20 plugin.webkitRequestFullScreen();
21 }) 21 })
22 eventSender.keyDown('a') 22 eventSender.keyDown('a')
23 } 23 }
24 </script> 24 </script>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/plugins/fullscreen-plugins-dont-reload-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698