OLD | NEW |
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> |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 | 156 |
157 function resumed() | 157 function resumed() |
158 { | 158 { |
159 next(); | 159 next(); |
160 } | 160 } |
161 } | 161 } |
162 ]); | 162 ]); |
163 | 163 |
164 function replaceInSource(sourceFrame, string, replacement, callback) | 164 function replaceInSource(sourceFrame, string, replacement, callback) |
165 { | 165 { |
166 InspectorTest.addSniffer(WebInspector.debuggerModel, "_didEditScriptSour
ce", callback); | 166 InspectorTest.addSniffer(InspectorTest.debuggerModel, "_didEditScriptSou
rce", callback); |
167 InspectorTest.replaceInSource(sourceFrame, string, replacement); | 167 InspectorTest.replaceInSource(sourceFrame, string, replacement); |
168 InspectorTest.commitSource(sourceFrame); | 168 InspectorTest.commitSource(sourceFrame); |
169 } | 169 } |
170 }; | 170 }; |
171 | 171 |
172 </script> | 172 </script> |
173 | 173 |
174 </head> | 174 </head> |
175 | 175 |
176 <body onload="runTest()"> | 176 <body onload="runTest()"> |
177 <p>Tests live edit feature.</p> | 177 <p>Tests live edit feature.</p> |
178 | 178 |
179 </body> | 179 </body> |
180 </html> | 180 </html> |
OLD | NEW |