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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/test_complex.js

Issue 980543002: Adding statusCode for webRequest onHeadersReceived and onAuthRequired callbacks (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
Index: chrome/test/data/extensions/api_test/webrequest/test_complex.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_complex.js b/chrome/test/data/extensions/api_test/webrequest/test_complex.js
index 9d4e24c41eec2b5c8756abeedb7d76d7b268e4a2..a66ac3b2c16a5f188543fa8d94e7b4401d933199 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_complex.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_complex.js
@@ -253,6 +253,7 @@ runTests([
type: "main_frame",
url: getURLHttpXHR(),
statusLine: "HTTP/1.1 200 OK",
+ statusCode: 200,
}
},
{ label: "onResponseStarted-1",
@@ -305,6 +306,7 @@ runTests([
type: "script",
url: getURLHttpXHRJavaScript(),
statusLine: "HTTP/1.1 200 OK",
+ statusCode: 200,
}
},
{ label: "a.js-onResponseStarted",
@@ -357,6 +359,7 @@ runTests([
type: "xmlhttprequest",
url: getURLHttpXHRData(),
statusLine: "HTTP/1.1 200 OK",
+ statusCode: 200,
}
},
{ label: "onResponseStarted-2",

Powered by Google App Engine
This is Rietveld 408576698