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

Unified Diff: Source/platform/weborigin/SchemeRegistry.cpp

Issue 54173002: Allow accessing data URL resource using CORS (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 6 years, 7 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 | « LayoutTests/inspector/network/network-status-non-http-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/weborigin/SchemeRegistry.cpp
diff --git a/Source/platform/weborigin/SchemeRegistry.cpp b/Source/platform/weborigin/SchemeRegistry.cpp
index 9a98a60dbf5406ff51687cbc1072ee968d889e4c..1b9134e966bf33887396874b7854239d27ab6f65 100644
--- a/Source/platform/weborigin/SchemeRegistry.cpp
+++ b/Source/platform/weborigin/SchemeRegistry.cpp
@@ -135,6 +135,7 @@ static URLSchemesMap& CORSEnabledSchemes()
if (CORSEnabledSchemes.isEmpty()) {
CORSEnabledSchemes.add("http");
CORSEnabledSchemes.add("https");
+ CORSEnabledSchemes.add("data");
}
return CORSEnabledSchemes;
« no previous file with comments | « LayoutTests/inspector/network/network-status-non-http-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698