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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/search/source-frame-replace-2.html

Issue 2493373002: DevTools: rename WebInspector into modules. (Closed)
Patch Set: for bots Created 4 years, 1 month 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="../inspector-test.js"></script> 3 <script src="../inspector-test.js"></script>
4 <script src="../debugger-test.js"></script> 4 <script src="../debugger-test.js"></script>
5 <script src="../sources-test.js"></script> 5 <script src="../sources-test.js"></script>
6 <script src="./search-test.js"></script> 6 <script src="./search-test.js"></script>
7 <script src="resources/search.js"></script> 7 <script src="resources/search.js"></script>
8 <script> 8 <script>
9 function test() 9 function test()
10 { 10 {
11 11
12 WebInspector.viewManager.showView("sources"); 12 UI.viewManager.showView("sources");
13 InspectorTest.showScriptSource("search.js", didShowScriptSource); 13 InspectorTest.showScriptSource("search.js", didShowScriptSource);
14 14
15 function didShowScriptSource(sourceFrame) 15 function didShowScriptSource(sourceFrame)
16 { 16 {
17 var searchConfig = new WebInspector.SearchableView.SearchConfig("replace Me1", false, false); 17 var searchConfig = new UI.SearchableView.SearchConfig("replaceMe1", fals e, false);
18 InspectorTest.replaceAndDumpChange(sourceFrame, searchConfig, "replaced" , false); 18 InspectorTest.replaceAndDumpChange(sourceFrame, searchConfig, "replaced" , false);
19 19
20 var searchConfig = new WebInspector.SearchableView.SearchConfig("replace Me2", false, false); 20 var searchConfig = new UI.SearchableView.SearchConfig("replaceMe2", fals e, false);
21 InspectorTest.replaceAndDumpChange(sourceFrame, searchConfig, "replaced" , true); 21 InspectorTest.replaceAndDumpChange(sourceFrame, searchConfig, "replaced" , true);
22 22
23 InspectorTest.completeTest(); 23 InspectorTest.completeTest();
24 } 24 }
25 }; 25 };
26 </script> 26 </script>
27 </head> 27 </head>
28 <body onload="runTest()"> 28 <body onload="runTest()">
29 <p>Tests different types of search-and-replace in SourceFrame</p> 29 <p>Tests different types of search-and-replace in SourceFrame</p>
30 </body> 30 </body>
31 </html> 31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698