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

Side by Side Diff: LayoutTests/inspector/sources/debugger/script-formatter.html

Issue 459833002: Revert of Revert of DevTools: Introduce module initializers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script> 4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script src="resources/obfuscated.js"></script> 5 <script src="resources/obfuscated.js"></script>
6 6
7 <script> 7 <script>
8 8
9 var test = function() 9 var test = function()
10 { 10 {
11 var panel = WebInspector.panels.sources; 11 var panel = WebInspector.panels.sources;
12 var worker = new Worker("script_formatter_worker/ScriptFormatterWorker.js"); 12 var worker = Runtime.startWorker("script_formatter_worker");
13 13
14 InspectorTest.runDebuggerTestSuite([ 14 InspectorTest.runDebuggerTestSuite([
15 function testScriptFormatterWorker(next) 15 function testScriptFormatterWorker(next)
16 { 16 {
17 worker.onmessage = InspectorTest.safeWrap(function(event) 17 worker.onmessage = InspectorTest.safeWrap(function(event)
18 { 18 {
19 InspectorTest.assertEquals("var x = 0\n", event.data.content); 19 InspectorTest.assertEquals("var x = 0\n", event.data.content);
20 next(); 20 next();
21 }); 21 });
22 22
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 </script> 97 </script>
98 98
99 </head> 99 </head>
100 100
101 <body onload="runTest()"> 101 <body onload="runTest()">
102 <p>Tests the script formatting functionality. 102 <p>Tests the script formatting functionality.
103 </p> 103 </p>
104 104
105 </body> 105 </body>
106 </html> 106 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/sources/debugger/script-extract-outline.html ('k') | Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698