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

Unified Diff: chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.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/cross_origin_xhr/background_page/test.js
diff --git a/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js b/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js
index 77288c2498adeda3814f9193a29b31825ba0816c..a3e92119b0c5c15e524778a84f8475a7150a8bd6 100644
--- a/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js
+++ b/chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/test.js
@@ -6,7 +6,7 @@ chrome.test.getConfig(function(config) {
function doReq(domain, expectSuccess) {
var req = new XMLHttpRequest();
- var url = domain + ":PORT/files/extensions/test_file.txt";
+ var url = domain + ":PORT/extensions/test_file.txt";
url = url.replace(/PORT/, config.testServer.port);
chrome.test.log("Requesting url: " + url);
@@ -53,8 +53,9 @@ chrome.test.getConfig(function(config) {
function disallowedSubdomain() {
doReq("http://foob.com", false);
},
- function disallowedSSL() {
- doReq("https://a.com", false);
- }
+ // TODO(asargent): Explicitly create SSL test server and enable the test.
+ // function disallowedSSL() {
+ // doReq("https://a.com", false);
+ // }
]);
});

Powered by Google App Engine
This is Rietveld 408576698