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

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

Issue 1355423003: Devtools: initialize protocol enums synchronously (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: removed WebInspector._connectionForTests Created 5 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
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.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 var initialize_InspectorTest = function() { 1 var initialize_InspectorTest = function() {
2 2
3 var results = []; 3 var results = [];
4 4
5 function consoleOutputHook(messageType) 5 function consoleOutputHook(messageType)
6 { 6 {
7 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1)); 7 InspectorTest.addResult(messageType + ": " + Array.prototype.slice.call(argu ments, 1));
8 } 8 }
9 9
10 window._originalConsoleLog = console.log.bind(console); 10 window._originalConsoleLog = console.log.bind(console);
(...skipping 829 matching lines...) Expand 10 before | Expand all | Expand 10 after
840 InspectorTest.workerManager = target.workerManager; 840 InspectorTest.workerManager = target.workerManager;
841 InspectorTest.powerProfiler = target.powerProfiler; 841 InspectorTest.powerProfiler = target.powerProfiler;
842 InspectorTest.cpuProfilerModel = target.cpuProfilerModel; 842 InspectorTest.cpuProfilerModel = target.cpuProfilerModel;
843 InspectorTest.heapProfilerModel = target.heapProfilerModel; 843 InspectorTest.heapProfilerModel = target.heapProfilerModel;
844 InspectorTest.layerTreeModel = target.layerTreeModel; 844 InspectorTest.layerTreeModel = target.layerTreeModel;
845 InspectorTest.animationModel = target.animationModel; 845 InspectorTest.animationModel = target.animationModel;
846 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel; 846 InspectorTest.serviceWorkerCacheModel = target.serviceWorkerCacheModel;
847 InspectorTest.serviceWorkerManager = target.serviceWorkerManager; 847 InspectorTest.serviceWorkerManager = target.serviceWorkerManager;
848 InspectorTest.tracingManager = target.tracingManager; 848 InspectorTest.tracingManager = target.tracingManager;
849 InspectorTest.mainTarget = target; 849 InspectorTest.mainTarget = target;
850 InspectorTest.connection = target._connection;
850 }, 851 },
851 852
852 targetRemoved: function(target) { } 853 targetRemoved: function(target) { }
853 }); 854 });
854 855
855 InspectorTest._panelsToPreload = []; 856 InspectorTest._panelsToPreload = [];
856 857
857 InspectorTest.preloadPanel = function(panelName) 858 InspectorTest.preloadPanel = function(panelName)
858 { 859 {
859 InspectorTest._panelsToPreload.push(panelName); 860 InspectorTest._panelsToPreload.push(panelName);
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
1069 _output("[page] " + text); 1070 _output("[page] " + text);
1070 } 1071 }
1071 1072
1072 function _output(result) 1073 function _output(result)
1073 { 1074 {
1074 if (!outputElement) 1075 if (!outputElement)
1075 createOutputElement(); 1076 createOutputElement();
1076 outputElement.appendChild(document.createTextNode(result)); 1077 outputElement.appendChild(document.createTextNode(result));
1077 outputElement.appendChild(document.createElement("br")); 1078 outputElement.appendChild(document.createElement("br"));
1078 } 1079 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/elements/styles-1/cached-sync-computed-styles.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698