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

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

Issue 392993005: Custom handlers should throw SecurityError exception if the URL's origin differs from the document'… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: baseURL is not required anymore Created 6 years, 5 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: Source/platform/weborigin/SecurityOrigin.cpp
diff --git a/Source/platform/weborigin/SecurityOrigin.cpp b/Source/platform/weborigin/SecurityOrigin.cpp
index 62223c13c089ef5cad246ca65de7a04bd00f702d..80cfd95f03d6b1aea976c8bdfa70f2d73eb34b4e 100644
--- a/Source/platform/weborigin/SecurityOrigin.cpp
+++ b/Source/platform/weborigin/SecurityOrigin.cpp
@@ -400,9 +400,9 @@ void SecurityOrigin::grantLoadLocalResources()
m_canLoadLocalResources = true;
}
-void SecurityOrigin::grantUniversalAccess()
+void SecurityOrigin::setUniversalAccess(bool allow)
{
- m_universalAccess = true;
+ m_universalAccess = allow;
}
void SecurityOrigin::enforceFilePathSeparation()

Powered by Google App Engine
This is Rietveld 408576698