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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/runtime.html

Issue 2191473005: DevTools: remove release mode from runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: lcean Created 4 years, 4 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> 4 <script>
5 5
6 function test() 6 function test()
7 { 7 {
8 function findLoadedModule() 8 function findLoadedModule()
9 { 9 {
10 var modules = self.runtime._modules; 10 var modules = self.runtime._modules;
11 for (var module of modules) { 11 for (var module of modules) {
12 if (module._loaded) 12 if (module._loadedForTest)
13 return module; 13 return module;
14 } 14 }
15 15
16 InspectorTest.addResult("Fail: not a single module loaded"); 16 InspectorTest.addResult("Fail: not a single module loaded");
17 InspectorTest.completeTest(); 17 InspectorTest.completeTest();
18 } 18 }
19 19
20 InspectorTest.runTestSuite([ 20 InspectorTest.runTestSuite([
21 function substituteURL(next) 21 function substituteURL(next)
22 { 22 {
(...skipping 22 matching lines...) Expand all
45 </script> 45 </script>
46 </head> 46 </head>
47 47
48 <body onload="runTest()"> 48 <body onload="runTest()">
49 <p> 49 <p>
50 This test checks various Runtime functions. 50 This test checks various Runtime functions.
51 </p> 51 </p>
52 52
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js ('k') | third_party/WebKit/Source/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698