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

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

Issue 16268017: GTTF: convert some tests in chrome to use EmbeddedTestServer patch nr 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 6 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_simple.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_simple.js b/chrome/test/data/extensions/api_test/webrequest/test_simple.js
index 0db4373dcc1472ce0181e532c2a29b2c016e4c0e..2ef4a05c11d366ff32e97951f4c2c213b27067a2 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_simple.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_simple.js
@@ -4,7 +4,7 @@
// Constants as functions, not to be called until after runTests.
function getURLHttpSimpleLoad() {
- return getServerURL('files/extensions/api_test/webrequest/simpleLoad/a.html');
+ return getServerURL('extensions/api_test/webrequest/simpleLoad/a.html');
}
function getURLHttpSimpleLoadRedirect() {
@@ -80,7 +80,7 @@ runTests([
details: {
url: getURLHttpSimpleLoadRedirect(),
responseHeadersExist: true,
- statusLine: "HTTP/1.0 301 Moved Permanently"
+ statusLine: "HTTP/1.1 301 Moved Permanently"
}
},
{ label: "onBeforeRedirect",
@@ -92,7 +92,7 @@ runTests([
responseHeadersExist: true,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 301 Moved Permanently"
+ statusLine: "HTTP/1.1 301 Moved Permanently"
}
},
{ label: "onBeforeRequest-2",
@@ -121,7 +121,7 @@ runTests([
details: {
url: getURLHttpSimpleLoad(),
responseHeadersExist: true,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onResponseStarted",
@@ -132,7 +132,7 @@ runTests([
responseHeadersExist: true,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onCompleted",
@@ -143,7 +143,7 @@ runTests([
ip: "127.0.0.1",
fromCache: false,
responseHeadersExist: true,
- statusLine: "HTTP/1.0 200 OK"
+ statusLine: "HTTP/1.1 200 OK"
}
}
],

Powered by Google App Engine
This is Rietveld 408576698