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

Side by Side Diff: LayoutTests/webaudio/scriptprocessornode-detached-no-crash.html

Issue 915033002: BatteryManager.getBattery(): gracefully bail on context-detached use. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: tidying up test Created 5 years, 10 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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/compatibility.js"></script> 4 <script src="resources/compatibility.js"></script>
5 <script src="resources/audio-testing.js"></script> 5 <script src="resources/audio-testing.js"></script>
6 <script src="../resources/js-test.js"></script> 6 <script src="../resources/js-test.js"></script>
7 </head> 7 </head>
8 <body> 8 <body>
9 <script> 9 <script>
10 description("Tests that ScriptProcessorNode event dispatch doesn't fail when det ached from document."); 10 description("Tests that ScriptProcessorNode event dispatch doesn't fail when det ached from document.");
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 finishJSTest(); 47 finishJSTest();
48 } 48 }
49 } 49 }
50 50
51 if (window.testRunner) { 51 if (window.testRunner) {
52 testRunner.dumpAsText(); 52 testRunner.dumpAsText();
53 testRunner.waitUntilDone(); 53 testRunner.waitUntilDone();
54 testRunner.setCanOpenWindows(); 54 testRunner.setCanOpenWindows();
55 } 55 }
56 56
57 w = window.open('resources/scriptprocessornode-detached-no-crash-new-window.html '); 57 w = window.open('../resources/window-postmessage-open-close.html');
58 window.addEventListener("message", processMessage, false); 58 window.addEventListener("message", processMessage, false);
59 </script> 59 </script>
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698