| Index: Source/core/dom/SecurityContext.cpp
|
| diff --git a/Source/core/dom/SecurityContext.cpp b/Source/core/dom/SecurityContext.cpp
|
| index c81e923e553c2971c3be971db275d5402c6296d4..7e35661b3c9573fff661bb45685ca0d9703dcbcf 100644
|
| --- a/Source/core/dom/SecurityContext.cpp
|
| +++ b/Source/core/dom/SecurityContext.cpp
|
| @@ -79,6 +79,10 @@ void SecurityContext::enforceSandboxFlags(SandboxFlags mask)
|
| }
|
| }
|
|
|
| +void SecurityContext::enforceSuboriginFlags(const SuboriginFlags& mask)
|
| +{
|
| +}
|
| +
|
| void SecurityContext::didUpdateSecurityOrigin()
|
| {
|
| // Subclasses can override this function if the need to do extra work when the security origin changes.
|
| @@ -141,4 +145,9 @@ SandboxFlags SecurityContext::parseSandboxPolicy(const String& policy, String& i
|
| return flags;
|
| }
|
|
|
| +SuboriginFlags SecurityContext::parseSuboriginPolicy(const String& policy, String& invalidTokensErrorMessage)
|
| +{
|
| + return String("my-suborigin-name");
|
| +}
|
| +
|
| }
|
|
|