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

Unified Diff: chrome/test/data/extensions/api_test/webrequest/test_complex.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_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 a1628263cfdd74a1f344fb968c214d1cb092f8dd..9d4e24c41eec2b5c8756abeedb7d76d7b268e4a2 100644
--- a/chrome/test/data/extensions/api_test/webrequest/test_complex.js
+++ b/chrome/test/data/extensions/api_test/webrequest/test_complex.js
@@ -3,13 +3,13 @@
// found in the LICENSE file.
function getURLHttpXHR() {
- return getServerURL('files/extensions/api_test/webrequest/xhr/a.html');
+ return getServerURL('extensions/api_test/webrequest/xhr/a.html');
}
function getURLHttpXHRJavaScript() {
- return getServerURL('files/extensions/api_test/webrequest/xhr/a.js');
+ return getServerURL('extensions/api_test/webrequest/xhr/a.js');
}
function getURLHttpXHRData() {
- return getServerURL('files/extensions/api_test/webrequest/xhr/data.json');
+ return getServerURL('extensions/api_test/webrequest/xhr/data.json');
}
runTests([
@@ -252,7 +252,7 @@ runTests([
details: {
type: "main_frame",
url: getURLHttpXHR(),
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onResponseStarted-1",
@@ -263,7 +263,7 @@ runTests([
statusCode: 200,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onCompleted-1",
@@ -274,7 +274,7 @@ runTests([
statusCode: 200,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "a.js-onBeforeRequest",
@@ -304,7 +304,7 @@ runTests([
details: {
type: "script",
url: getURLHttpXHRJavaScript(),
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "a.js-onResponseStarted",
@@ -315,7 +315,7 @@ runTests([
statusCode: 200,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "a.js-onCompleted",
@@ -326,7 +326,7 @@ runTests([
statusCode: 200,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onBeforeRequest-2",
@@ -356,7 +356,7 @@ runTests([
details: {
type: "xmlhttprequest",
url: getURLHttpXHRData(),
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onResponseStarted-2",
@@ -367,7 +367,7 @@ runTests([
statusCode: 200,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
},
{ label: "onCompleted-2",
@@ -378,7 +378,7 @@ runTests([
statusCode: 200,
ip: "127.0.0.1",
fromCache: false,
- statusLine: "HTTP/1.0 200 OK",
+ statusLine: "HTTP/1.1 200 OK",
}
}
],

Powered by Google App Engine
This is Rietveld 408576698