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

Unified Diff: chrome/test/data/extensions/api_test/cross_origin_xhr/background_page/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
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ccb2e4fd8ed9c79287fd685c347f39ab4e8bdba2..4558ffea07592ca8154ceadd97940a73325f5435 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
@@ -78,8 +78,8 @@ chrome.test.getConfig(function(config) {
// function disallowedSSL() {
// doReq("https://a.com", false);
// },
- function allowedFtpHostAllowed() {
- doReq('ftp://127.0.0.1', true);
+ function allowedFtpHostDisallowed() {
+ doReq('ftp://127.0.0.1', false);
},
function disallowedFtpHostDisallowed() {
doReq('ftp://this.host.is.not.whitelisted', false);
« no previous file with comments | « no previous file | chrome/test/data/extensions/api_test/cross_origin_xhr/content_script/test.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698