| Index: Source/core/dom/ExecutionContext.h
|
| diff --git a/Source/core/dom/ExecutionContext.h b/Source/core/dom/ExecutionContext.h
|
| index f5958f45a746ebc35172d166f0373469d9cb6234..b5d45110379379c9e2290a6a357d7191a7df813e 100644
|
| --- a/Source/core/dom/ExecutionContext.h
|
| +++ b/Source/core/dom/ExecutionContext.h
|
| @@ -126,6 +126,10 @@ public:
|
| bool isSandboxed(SandboxFlags mask) const { return m_sandboxFlags & mask; }
|
| void enforceSandboxFlags(SandboxFlags mask);
|
|
|
| + void enforceSuborigin(const String& name);
|
| + bool hasSuborigin() { return securityContext().securityOrigin()->hasSuborigin(); }
|
| + String suboriginName() { return securityContext().securityOrigin()->suboriginName(); }
|
| +
|
| PassOwnPtr<LifecycleNotifier<ExecutionContext> > createLifecycleNotifier();
|
|
|
| virtual EventTarget* errorEventTarget() = 0;
|
|
|