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

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

Issue 2186753002: [DevTools] Track URL through the target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments addressed Created 4 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
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 testFunction() 7 function testFunction()
8 { 8 {
9 return 0; 9 return 0;
10 } 10 }
11 11
12 var test = function() 12 var test = function()
13 { 13 {
14 var testName = InspectorTest.resourceTreeModel.inspectedPageURL(); 14 var testName = InspectorTest.mainTarget.inspectedURL();
15 testName = testName.substring(testName.lastIndexOf('/') + 1); 15 testName = testName.substring(testName.lastIndexOf('/') + 1);
16 InspectorTest.startDebuggerTest(step1); 16 InspectorTest.startDebuggerTest(step1);
17 var testSourceFrame; 17 var testSourceFrame;
18 function step1() 18 function step1()
19 { 19 {
20 InspectorTest.showScriptSource(testName, step2); 20 InspectorTest.showScriptSource(testName, step2);
21 } 21 }
22 22
23 function step2(sourceFrame) 23 function step2(sourceFrame)
24 { 24 {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 83
84 </script> 84 </script>
85 </head> 85 </head>
86 86
87 <body onload="runTest()"> 87 <body onload="runTest()">
88 <p> 88 <p>
89 Tests that breakpoints are correctly handled while debugger is turned off</a> 89 Tests that breakpoints are correctly handled while debugger is turned off</a>
90 </p> 90 </p>
91 </body> 91 </body>
92 </html> 92 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698