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

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

Issue 1040103002: [DevTools] Cleanup Page domain calls, which should be Emulation calls. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: supportsRendering to RenderingOptions Created 5 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/inspector/device-orientation-success.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 697 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 } 708 }
709 709
710 WebInspector.targetManager.observeTargets({ 710 WebInspector.targetManager.observeTargets({
711 targetAdded: function(target) 711 targetAdded: function(target)
712 { 712 {
713 if (InspectorTest.CSSAgent) 713 if (InspectorTest.CSSAgent)
714 return; 714 return;
715 InspectorTest.CSSAgent = target.cssAgent(); 715 InspectorTest.CSSAgent = target.cssAgent();
716 InspectorTest.CanvasAgent = target.canvasAgent(); 716 InspectorTest.CanvasAgent = target.canvasAgent();
717 InspectorTest.ConsoleAgent = target.consoleAgent(); 717 InspectorTest.ConsoleAgent = target.consoleAgent();
718 InspectorTest.DeviceOrientationAgent = target.deviceOrientationAgent();
718 InspectorTest.DOMAgent = target.domAgent(); 719 InspectorTest.DOMAgent = target.domAgent();
719 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent(); 720 InspectorTest.DOMDebuggerAgent = target.domdebuggerAgent();
720 InspectorTest.DebuggerAgent = target.debuggerAgent(); 721 InspectorTest.DebuggerAgent = target.debuggerAgent();
721 InspectorTest.EmulationAgent = target.emulationAgent(); 722 InspectorTest.EmulationAgent = target.emulationAgent();
722 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent(); 723 InspectorTest.HeapProfilerAgent = target.heapProfilerAgent();
723 InspectorTest.InspectorAgent = target.inspectorAgent(); 724 InspectorTest.InspectorAgent = target.inspectorAgent();
724 InspectorTest.LayerTreeAgent = target.layerTreeAgent(); 725 InspectorTest.LayerTreeAgent = target.layerTreeAgent();
725 InspectorTest.NetworkAgent = target.networkAgent(); 726 InspectorTest.NetworkAgent = target.networkAgent();
726 InspectorTest.PageAgent = target.pageAgent(); 727 InspectorTest.PageAgent = target.pageAgent();
727 InspectorTest.ProfilerAgent = target.profilerAgent(); 728 InspectorTest.ProfilerAgent = target.profilerAgent();
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 _output("[page] " + text); 961 _output("[page] " + text);
961 } 962 }
962 963
963 function _output(result) 964 function _output(result)
964 { 965 {
965 if (!outputElement) 966 if (!outputElement)
966 createOutputElement(); 967 createOutputElement();
967 outputElement.appendChild(document.createTextNode(result)); 968 outputElement.appendChild(document.createTextNode(result));
968 outputElement.appendChild(document.createElement("br")); 969 outputElement.appendChild(document.createElement("br"));
969 } 970 }
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/inspector/device-orientation-success.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698