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

Side by Side Diff: LayoutTests/http/tests/media/reload-after-dialog.html

Issue 14495004: Remove left-over PageCache stuff (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src=../../media-resources/media-file.js></script> 4 <script src=../../media-resources/media-file.js></script>
5 <script src=../../media-resources/video-test.js></script> 5 <script src=../../media-resources/video-test.js></script>
6 <script> 6 <script>
7 var loadCount = 0; 7 var loadCount = 0;
8 8
9 if (window.testRunner) { 9 if (window.testRunner) {
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 testRunner.waitUntilDone(); 11 testRunner.waitUntilDone();
12 testRunner.overridePreference("WebKitUsesPageCachePreferenceKey" , 1);
13 } 12 }
14 13
15 function logEvent(event) 14 function logEvent(event)
16 { 15 {
17 consoleWrite("<br><b><em>'" + event.type + "'<" + "/em> event<" + "/b>"); 16 consoleWrite("<br><b><em>'" + event.type + "'<" + "/em> event<" + "/b>");
18 } 17 }
19 18
20 function loadstart() 19 function loadstart()
21 { 20 {
22 logEvent(event); 21 logEvent(event);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 oncanplaythrough="canplaythrough()" 56 oncanplaythrough="canplaythrough()"
58 onloadstart="loadstart()"> 57 onloadstart="loadstart()">
59 </video> 58 </video>
60 <p>Make sure we don't reload a &lt;video&gt; element after a dialog is s hown.<br> 59 <p>Make sure we don't reload a &lt;video&gt; element after a dialog is s hown.<br>
61 Test this by loading a movie slowly and showing a dialog when a 'loadsta rt' event <br> 60 Test this by loading a movie slowly and showing a dialog when a 'loadsta rt' event <br>
62 handler is called. If the movie is reloaded when the dialog is "dismisse d", another <br> 61 handler is called. If the movie is reloaded when the dialog is "dismisse d", another <br>
63 'loadstart' event will be fired</p> 62 'loadstart' event will be fired</p>
64 </body> 63 </body>
65 </html> 64 </html>
66 65
OLDNEW
« no previous file with comments | « LayoutTests/fast/viewport/viewport-128-expected.txt ('k') | LayoutTests/http/tests/navigation/go-back-to-error-page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698