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

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

Issue 2663953002: DevTools: suppress protocol errors for tests unless debugTest (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
index 14fdc8597bf85d29fb21e07e1cc962cf6866bd72..e860260481d14c4155bc7754c48370b7ea157f42 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/inspector-test.js
@@ -1,7 +1,8 @@
if (window.GCController)
GCController.collectAll();
-var initialize_InspectorTest = function() {
+var initialize_InspectorTest = function() {
+Protocol.InspectorBackend.Options.suppressRequestErrors = true;
var results = [];
function consoleOutputHook(messageType)
@@ -1159,7 +1160,7 @@ function runTest(pixelTest, enableWatchDogWhileDebugging)
testRunner.evaluateInWebInspector(initializeCallId, toEvaluate);
if (window.debugTest)
- test = "function() { window.test = " + test.toString() + "; InspectorTest.addResult = window._originalConsoleLog; InspectorTest.completeTest = function() {}; }";
+ test = "function() { Protocol.InspectorBackend.Options.suppressRequestErrors = false; window.test = " + test.toString() + "; InspectorTest.addResult = window._originalConsoleLog; InspectorTest.completeTest = function() {}; }";
toEvaluate = "(" + runTestInFrontend + ")(" + test + ");";
testRunner.evaluateInWebInspector(runTestCallId, toEvaluate);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector/inspector-backend-commands.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698