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

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

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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 <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> 5 <script>
6 6
7 function nonFormattedFunction() { var i = 2 + 2; var a = 4; return a + i; } 7 function nonFormattedFunction() { var i = 2 + 2; var a = 4; return a + i; }
8 8
9 function f1() 9 function f1()
10 { 10 {
11 console.error("Test message."); 11 console.error("Test message.");
12 } 12 }
13 13
14 var test = function() 14 var test = function()
15 { 15 {
16 var panel = WebInspector.panels.scripts; 16 var panel = WebInspector.panels.sources;
17 var worker = new Worker("ScriptFormatterWorker.js"); 17 var worker = new Worker("ScriptFormatterWorker.js");
18 var sourceFrame; 18 var sourceFrame;
19 19
20 InspectorTest.runDebuggerTestSuite([ 20 InspectorTest.runDebuggerTestSuite([
21 function testConsoleMessagesForFormattedScripts(next) 21 function testConsoleMessagesForFormattedScripts(next)
22 { 22 {
23 InspectorTest.showScriptSource("script-formatter-console.html", didS howScriptSource); 23 InspectorTest.showScriptSource("script-formatter-console.html", didS howScriptSource);
24 24
25 function didShowScriptSource(frame) 25 function didShowScriptSource(frame)
26 { 26 {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 </script> 63 </script>
64 64
65 </head> 65 </head>
66 66
67 <body onload="runTest()"> 67 <body onload="runTest()">
68 <p>Tests that the script formatting changes console line numbers. 68 <p>Tests that the script formatting changes console line numbers.
69 </p> 69 </p>
70 70
71 </body> 71 </body>
72 </html> 72 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/script-formatter-breakpoints.html ('k') | LayoutTests/inspector/debugger/scripts-panel.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698