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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/test_declarative1.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_declarative1.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_declarative1.js b/chrome/test/data/extensions/api_test/webrequest/test_declarative1.js
index 591f329c4253d49846f62c8daef266dddec2a6f8..ad96b3ba4e50413a18c17a33de3b9df802fbed91 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_declarative1.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_declarative1.js
@@ -80,7 +80,8 @@ function cancelThirdPartyExpected() {
event: "onHeadersReceived",
details: {
url: getURLOfHTMLWithThirdParty(),
- statusLine: "HTTP/1.1 200 OK"
+ statusLine: "HTTP/1.1 200 OK",
+ statusCode: 200
}
},
{ label: "onResponseStarted",
@@ -198,6 +199,7 @@ runTests([
details: {
statusLine: "HTTP/1.1 200 OK",
url: getURLHttpWithHeaders(),
+ statusCode: 200
}
},
{ label: "onErrorOccurred",

Powered by Google App Engine
This is Rietveld 408576698