| Index: Source/core/dom/ExecutionContext.h
|
| diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h
|
| index c5f8fc0826178f6cd5dc10c0915b2e545a326bb4..c314ee98e110e8594af8cd059afc4e58201dd305 100644
|
| --- a/Source/core/dom/ExecutionContext.h
|
| +++ b/Source/core/dom/ExecutionContext.h
|
| @@ -99,7 +99,7 @@ public:
|
|
|
| virtual void reportBlockedScriptExecutionToInspector(const String& directiveText) = 0;
|
|
|
| - virtual const SecurityContext& securityContext() const = 0;
|
| + virtual SecurityContext& securityContext() = 0;
|
| KURL contextURL() const { return virtualURL(); }
|
| KURL contextCompleteURL(const String& url) const { return virtualCompleteURL(url); }
|
|
|
| @@ -144,6 +144,10 @@ public:
|
| void enforceStrictMixedContentChecking() { m_strictMixedContentCheckingEnforced = true; }
|
| bool shouldEnforceStrictMixedContentChecking() const { return m_strictMixedContentCheckingEnforced; }
|
|
|
| + void enforceSuborigin(const String& name);
|
| + bool hasSuborigin();
|
| + String suboriginName();
|
| +
|
| // Methods related to window interaction. It should be used to manage window
|
| // focusing and window creation permission for an ExecutionContext.
|
| void allowWindowInteraction();
|
|
|