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

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

Issue 422233006: Add fake headers to URLRequestRedirectJobs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix tests Created 6 years, 4 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 | chrome/test/data/extensions/api_test/webrequest/test_declarative1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/webrequest/test_blocking.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_blocking.js b/chrome/test/data/extensions/api_test/webrequest/test_blocking.js
index f60f55dead03adca3519787e4539ba68ad7b69a1..f3aee70d04ca943ef3deed4acaf7de766980f64e 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_blocking.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_blocking.js
@@ -280,9 +280,9 @@ runTests([
details: {
url: getURL("complexLoad/a.html"),
redirectUrl: getURL("simpleLoad/a.html"),
- statusLine: "",
- statusCode: -1,
fromCache: false,
+ statusLine: "HTTP/1.1 307 Internal Redirect",
+ statusCode: 307,
}
},
{ label: "onBeforeRequest-2",
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/webrequest/test_declarative1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698