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

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

Issue 1104233004: DevTools: rebaseline inspector tests with poor expectations (2). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaselined Created 5 years, 7 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 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 936 matching lines...) Expand 10 before | Expand all | Expand 10 after
947 947
948 var testPath = WebInspector.settings.createSetting("testPath", "").get() ; 948 var testPath = WebInspector.settings.createSetting("testPath", "").get() ;
949 949
950 // 2. Show initial panel based on test path. 950 // 2. Show initial panel based on test path.
951 var initialPanelByFolder = { 951 var initialPanelByFolder = {
952 "audits": "audits", 952 "audits": "audits",
953 "console": "console", 953 "console": "console",
954 "elements": "elements", 954 "elements": "elements",
955 "editor": "sources", 955 "editor": "sources",
956 "layers": "layers", 956 "layers": "layers",
957 "network": "network",
957 "profiler": "profiles", 958 "profiler": "profiles",
958 "resource-tree": "resources", 959 "resource-tree": "resources",
959 "search": "sources", 960 "search": "sources",
960 "service-workers": "resources", 961 "service-workers": "resources",
961 "sources": "sources", 962 "sources": "sources",
962 "timeline": "timeline", 963 "timeline": "timeline",
963 "tracing": "timeline", 964 "tracing": "timeline",
964 } 965 }
965 var initialPanelShown = false; 966 var initialPanelShown = false;
966 for (var folder in initialPanelByFolder) { 967 for (var folder in initialPanelByFolder) {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1057 _output("[page] " + text); 1058 _output("[page] " + text);
1058 } 1059 }
1059 1060
1060 function _output(result) 1061 function _output(result)
1061 { 1062 {
1062 if (!outputElement) 1063 if (!outputElement)
1063 createOutputElement(); 1064 createOutputElement();
1064 outputElement.appendChild(document.createTextNode(result)); 1065 outputElement.appendChild(document.createTextNode(result));
1065 outputElement.appendChild(document.createElement("br")); 1066 outputElement.appendChild(document.createElement("br"));
1066 } 1067 }
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/inspector/extensions/extensions-network-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698