diff options
Diffstat (limited to 'Source/WebCore/page/SecurityOrigin.h')
-rw-r--r-- | Source/WebCore/page/SecurityOrigin.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/WebCore/page/SecurityOrigin.h b/Source/WebCore/page/SecurityOrigin.h index 262dd8d..f6ef570 100644 --- a/Source/WebCore/page/SecurityOrigin.h +++ b/Source/WebCore/page/SecurityOrigin.h @@ -133,9 +133,6 @@ public: // resources, and can set arbitrary headers on XMLHttpRequests. bool isLocal() const; - // The empty SecurityOrigin is the least privileged SecurityOrigin. - bool isEmpty() const; - // The origin is a globally unique identifier assigned when the Document is // created. http://www.whatwg.org/specs/web-apps/current-work/#sandboxOrigin // @@ -144,6 +141,13 @@ public: // addition, the SandboxOrigin flag is inherited by iframes. bool isUnique() const { return m_isUnique; } + // The empty SecurityOrigin is a unique security orign (in the sense of + // isUnique above) that was created for a "blank" document, such about + // about:blank. Empty origins differ from unique origins in that they can + // sometimes be replaced by non-empty origins, for example when an + // about:blank iframe inherits its security origin from its parent frame. + bool isEmpty() const; + // Marks a file:// origin as being in a domain defined by its path. void enforceFilePathSeparation(); |