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

Unified Diff: chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js

Issue 2775763002: Block 'ftp:' subresource requests from non-'ftp:' pages. (Closed)
Patch Set: Rebaseline. Created 3 years, 9 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/content_script/test.js
diff --git a/chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js b/chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js
index 9689a5a99a8486e755a433d8065254addc4fda11..97ce1fa567896796c1d7abec24fc52ac4e1ae6f3 100644
--- a/chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js
+++ b/chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js
@@ -70,8 +70,8 @@ chrome.test.getConfig(function(config) {
// script is injected into.
doReq('http://localhost', true);
},
- function allowedFtpHostAllowed() {
- doReq('ftp://127.0.0.1', true);
+ function allowedFtpHostDisllowed() {
+ doReq('ftp://127.0.0.1', false);
},
function disallowedFtpHostDisallowed() {
// The host is the same as the current page, but the scheme differs.

Powered by Google App Engine
This is Rietveld 408576698