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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js

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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/runtime.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 if (window.GCController) 1 if (window.GCController)
2 GCController.collectAll(); 2 GCController.collectAll();
3 var initialize_InspectorTest = function() { 3 var initialize_InspectorTest = function() {
4 4
5 var results = []; 5 var results = [];
6 6
7 function consoleOutputHook(messageType) 7 function consoleOutputHook(messageType)
8 { 8 {
9 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1)); 9 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1));
10 } 10 }
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 { 890 {
891 function moduleSorter(left, right) 891 function moduleSorter(left, right)
892 { 892 {
893 return String.naturalOrderComparator(left._descriptor.name, right._descr iptor.name); 893 return String.naturalOrderComparator(left._descriptor.name, right._descr iptor.name);
894 } 894 }
895 895
896 InspectorTest.addResult("Loaded modules:"); 896 InspectorTest.addResult("Loaded modules:");
897 var modules = self.runtime._modules; 897 var modules = self.runtime._modules;
898 modules.sort(moduleSorter); 898 modules.sort(moduleSorter);
899 for (var i = 0; i < modules.length; ++i) { 899 for (var i = 0; i < modules.length; ++i) {
900 if (modules[i]._loaded) 900 if (modules[i]._loadedForTest)
901 InspectorTest.addResult(" " + modules[i]._descriptor.name); 901 InspectorTest.addResult(" " + modules[i]._descriptor.name);
902 } 902 }
903 if (next) 903 if (next)
904 next(); 904 next();
905 } 905 }
906 906
907 InspectorTest.TimeoutMock = function() 907 InspectorTest.TimeoutMock = function()
908 { 908 {
909 this._timeoutId = 0; 909 this._timeoutId = 0;
910 this._timeoutIdToProcess = {}; 910 this._timeoutIdToProcess = {};
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
1213 _output("[page] " + text); 1213 _output("[page] " + text);
1214 } 1214 }
1215 1215
1216 function _output(result) 1216 function _output(result)
1217 { 1217 {
1218 if (!outputElement) 1218 if (!outputElement)
1219 createOutputElement(); 1219 createOutputElement();
1220 outputElement.appendChild(document.createTextNode(result)); 1220 outputElement.appendChild(document.createTextNode(result));
1221 outputElement.appendChild(document.createElement("br")); 1221 outputElement.appendChild(document.createElement("br"));
1222 } 1222 }
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/runtime.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698