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

Unified Diff: Source/core/dom/RemoteSecurityContext.cpp

Issue 1096873002: Allow replicated origins to be updated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/RemoteSecurityContext.cpp
diff --git a/Source/core/dom/RemoteSecurityContext.cpp b/Source/core/dom/RemoteSecurityContext.cpp
index 8e773494a296f65f99532b8080bc915b94729911..f298488eea1c176d337af7333c7f6e5cea737fbf 100644
--- a/Source/core/dom/RemoteSecurityContext.cpp
+++ b/Source/core/dom/RemoteSecurityContext.cpp
@@ -34,12 +34,6 @@ PassRefPtr<RemoteSecurityContext> RemoteSecurityContext::create()
void RemoteSecurityContext::setReplicatedOrigin(PassRefPtr<SecurityOrigin> origin)
{
- // FIXME: Currently, replicated security origins are passed only at
- // RemoteFrame creation time. Eventually, this class will also need to
- // handle origin updates to handle cases like setting document.domain, but
- // for now, check that this is the first and only time we are setting the
- // origin.
- ASSERT(!haveInitializedSecurityOrigin());
setSecurityOrigin(origin);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698