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

Side by Side Diff: LayoutTests/inspector/debugger/live-edit.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.js"></script> 6 <script src="resources/edit-me.js"></script>
7 <script src="resources/edit-me-syntax-error.js"></script> 7 <script src="resources/edit-me-syntax-error.js"></script>
8 <script src="resources/edit-me-when-paused.js"></script> 8 <script src="resources/edit-me-when-paused.js"></script>
9 9
10 <script> 10 <script>
11 11
12 function test() 12 function test()
13 { 13 {
14 var panel = WebInspector.showPanel("scripts"); 14 var panel = WebInspector.showPanel("sources");
15 15
16 InspectorTest.runDebuggerTestSuite([ 16 InspectorTest.runDebuggerTestSuite([
17 function testLiveEdit(next) 17 function testLiveEdit(next)
18 { 18 {
19 InspectorTest.showScriptSource("edit-me.js", didShowScriptSource); 19 InspectorTest.showScriptSource("edit-me.js", didShowScriptSource);
20 20
21 function didShowScriptSource(sourceFrame) 21 function didShowScriptSource(sourceFrame)
22 { 22 {
23 replaceInSource(sourceFrame, "return 0;", "return \"live-edited string\";", didEditScriptSource); 23 replaceInSource(sourceFrame, "return 0;", "return \"live-edited string\";", didEditScriptSource);
24 } 24 }
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 133
134 </script> 134 </script>
135 135
136 </head> 136 </head>
137 137
138 <body onload="runTest()"> 138 <body onload="runTest()">
139 <p>Tests live edit feature.</p> 139 <p>Tests live edit feature.</p>
140 140
141 </body> 141 </body>
142 </html> 142 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698