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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
OLDNEW
1 <html> 1 <html>
2 <a id='link' href="javascript:document.querySelector('embed').webkitRequestFullS creen()">go 2 <a id='link' href="javascript:document.querySelector('embed').webkitRequestFullS creen()">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 type="application/x-blink-test-plugin"></embed> 8 <embed type="application/x-blink-test-plugin"></embed>
9 9
10 <script> 10 <script>
11 if (window.testRunner) { 11 if (window.testRunner) {
12 testRunner.waitUntilDone(); 12 testRunner.waitUntilDone();
13 testRunner.dumpAsText(); 13 testRunner.dumpAsText();
14 14
15 var plugin = document.querySelector('embed'); 15 var plugin = document.querySelector('embed');
16 plugin.addEventListener('webkitfullscreenchange', function () { 16 plugin.addEventListener('webkitfullscreenchange', function () {
17 internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(); 17 internals.updateStyleAndLayoutIgnorePendingStylesheetsAndRunPostLayoutTa sks();
18 testRunner.notifyDone(); 18 testRunner.notifyDone();
19 }) 19 })
20 document.addEventListener('keydown', function () { 20 document.addEventListener('keydown', function () {
21 plugin.webkitRequestFullScreen(); 21 plugin.webkitRequestFullScreen();
22 }) 22 })
23 eventSender.keyDown('a') 23 eventSender.keyDown('a')
24 } 24 }
25 </script> 25 </script>
26 </html> 26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698