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

Side by Side Diff: LayoutTests/inspector/debugger/live-edit-breakpoints.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 src="../../http/tests/inspector/live-edit-test.js"></script> 5 <script src="../../http/tests/inspector/live-edit-test.js"></script>
6 <script src="resources/edit-me-breakpoints.js"></script> 6 <script src="resources/edit-me-breakpoints.js"></script>
7 <script> 7 <script>
8 function loadDynamicAnonymousScript() 8 function loadDynamicAnonymousScript()
9 { 9 {
10 function testFunction() 10 function testFunction()
11 { 11 {
12 debugger; 12 debugger;
13 } 13 }
14 var scriptElement = document.createElement("script"); 14 var scriptElement = document.createElement("script");
15 scriptElement.textContent = String(testFunction); 15 scriptElement.textContent = String(testFunction);
16 docuemnt.head.appendChild(scriptElement); 16 docuemnt.head.appendChild(scriptElement);
17 } 17 }
18 18
19 function test() 19 function test()
20 { 20 {
21 var panel = WebInspector.showPanel("scripts"); 21 var panel = WebInspector.showPanel("sources");
22 22
23 function pathToFileName(path) 23 function pathToFileName(path)
24 { 24 {
25 return path.substring(path.lastIndexOf("/") + 1); 25 return path.substring(path.lastIndexOf("/") + 1);
26 } 26 }
27 27
28 function dumpBreakpointStorageAndLocations() 28 function dumpBreakpointStorageAndLocations()
29 { 29 {
30 var breakpointManager = WebInspector.breakpointManager; 30 var breakpointManager = WebInspector.breakpointManager;
31 var breakpoints = breakpointManager._storage._setting.get(); 31 var breakpoints = breakpointManager._storage._setting.get();
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 ]); 437 ]);
438 }; 438 };
439 439
440 </script> 440 </script>
441 </head> 441 </head>
442 <body onload="runTest()"> 442 <body onload="runTest()">
443 <p>Tests breakpoints are correctly dimmed and restored in JavaScriptSourceFrame during live edit.</p> 443 <p>Tests breakpoints are correctly dimmed and restored in JavaScriptSourceFrame during live edit.</p>
444 <a href="https://bugs.webkit.org/show_bug.cgi?id=99598">Bug 99598</a> 444 <a href="https://bugs.webkit.org/show_bug.cgi?id=99598">Bug 99598</a>
445 </body> 445 </body>
446 </html> 446 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/live-edit.html ('k') | LayoutTests/inspector/debugger/live-edit-no-reveal.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698