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

Side by Side Diff: LayoutTests/inspector/debugger/dynamic-scripts-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/workspace-test.js"></script> 5 <script src="../../http/tests/inspector/workspace-test.js"></script>
6 <script src="resources/load-dynamic-script.js"></script> 6 <script src="resources/load-dynamic-script.js"></script>
7 <script> 7 <script>
8 function foobar() 8 function foobar()
9 { 9 {
10 var i = 0; 10 var i = 0;
11 var j = 0; 11 var j = 0;
12 var k = i + j; 12 var k = i + j;
13 } 13 }
14 14
15 foobar(); 15 foobar();
16 </script> 16 </script>
17 <script> 17 <script>
18 function test() 18 function test()
19 { 19 {
20 WebInspector.breakpointManager._storage._breakpoints = {}; 20 WebInspector.breakpointManager._storage._breakpoints = {};
21 var panel = WebInspector.showPanel("scripts"); 21 var panel = WebInspector.showPanel("sources");
22 22
23 InspectorTest.startDebuggerTest(); 23 InspectorTest.startDebuggerTest();
24 24
25 InspectorTest.showScriptSource("dynamic-scripts-breakpoints.html", didShowSc riptSource); 25 InspectorTest.showScriptSource("dynamic-scripts-breakpoints.html", didShowSc riptSource);
26 26
27 function pathToFileName(path) 27 function pathToFileName(path)
28 { 28 {
29 return path.substring(path.lastIndexOf("/") + 1); 29 return path.substring(path.lastIndexOf("/") + 1);
30 } 30 }
31 31
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 InspectorTest.completeDebuggerTest(); 63 InspectorTest.completeDebuggerTest();
64 } 64 }
65 } 65 }
66 </script> 66 </script>
67 </head> 67 </head>
68 <body onload="runTest()"> 68 <body onload="runTest()">
69 <p>Tests that there is no exception in front-end on page reload when breakpoint is set in HTML document and some dynamic scripts are loaded before the script wi th the breakpoint is loaded.</p> 69 <p>Tests that there is no exception in front-end on page reload when breakpoint is set in HTML document and some dynamic scripts are loaded before the script wi th the breakpoint is loaded.</p>
70 <a href="https://bugs.webkit.org/show_bug.cgi?id=99598">Bug 99598</a> 70 <a href="https://bugs.webkit.org/show_bug.cgi?id=99598">Bug 99598</a>
71 </body> 71 </body>
72 </html> 72 </html>
OLDNEW
« no previous file with comments | « LayoutTests/inspector/debugger/dynamic-scripts.html ('k') | LayoutTests/inspector/debugger/error-in-watch-expressions.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698