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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-breakpoints/nodejs-set-breakpoint.html

Issue 2533073003: [DevTools] Remove workspace-test.js part1. (Closed)
Patch Set: Created 4 years 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 src="../../../http/tests/inspector/workspace-test.js"></script>
6 <script> 5 <script>
7 function test() 6 function test()
8 { 7 {
9 SDK.targetManager.mainTarget().setIsNodeJSForTest(); 8 SDK.targetManager.mainTarget().setIsNodeJSForTest();
10 InspectorTest.startDebuggerTest(); 9 InspectorTest.startDebuggerTest();
11 10
12 var functionText = "function foobar() { \nconsole.log('foobar execute!');\n} "; 11 var functionText = "function foobar() { \nconsole.log('foobar execute!');\n} ";
13 var sourceURL = "\n//# sourceURL=/usr/local/home/prog/foobar.js"; 12 var sourceURL = "\n//# sourceURL=/usr/local/home/prog/foobar.js";
14 InspectorTest.evaluateInPage(functionText + sourceURL, function() { }); 13 InspectorTest.evaluateInPage(functionText + sourceURL, function() { });
15 InspectorTest.showScriptSource("foobar.js", didShowScriptSource); 14 InspectorTest.showScriptSource("foobar.js", didShowScriptSource);
(...skipping 16 matching lines...) Expand all
32 InspectorTest.addResult("Successfully paused on breakpoint"); 31 InspectorTest.addResult("Successfully paused on breakpoint");
33 InspectorTest.completeDebuggerTest(); 32 InspectorTest.completeDebuggerTest();
34 } 33 }
35 } 34 }
36 </script> 35 </script>
37 </head> 36 </head>
38 <body onload="runTest()"> 37 <body onload="runTest()">
39 <p>Verify that front-end is able to set breakpoint for node.js scripts.</p> 38 <p>Verify that front-end is able to set breakpoint for node.js scripts.</p>
40 </body> 39 </body>
41 </html> 40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698