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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/test_declarative2.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_declarative2.js
diff --git a/chrome/test/data/extensions/api_test/webrequest/test_declarative2.js b/chrome/test/data/extensions/api_test/webrequest/test_declarative2.js
index b2c960945b6696b8b2612dd8f6a048681d029619..fd23a658785b29c769ce4dd9d74e7ca289bfe56a 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_declarative2.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_declarative2.js
@@ -34,13 +34,13 @@ function getURLEchoUserAgent() {
}
function getURLHttpSimple() {
- return getServerURL("files/extensions/api_test/webrequest/simpleLoad/a.html");
+ return getServerURL("extensions/api_test/webrequest/simpleLoad/a.html");
}
function getURLOfHTMLWithThirdParty() {
// Returns the URL of a HTML document with a third-party resource.
return getServerURL(
- "files/extensions/api_test/webrequest/declarative/third-party.html");
+ "extensions/api_test/webrequest/declarative/third-party.html");
}
function getURLSetCookie() {
@@ -57,7 +57,7 @@ function getURLEchoCookie() {
}
function getURLHttpXHRData() {
- return getServerURL("files/extensions/api_test/webrequest/xhr/data.json",
+ return getServerURL("extensions/api_test/webrequest/xhr/data.json",
"b.com");
}
@@ -160,7 +160,7 @@ runTests([
url: getURLHttpSimple(),
statusCode: 200,
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
ip: "127.0.0.1",
}
}

Powered by Google App Engine
This is Rietveld 408576698