| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index d85fa40c092391c457b3c51c2864d547ea6f4d7e..dac2d77c5e779258c5697e8140f6ce810d173991 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3989,7 +3989,7 @@ const KURL& Document::firstPartyForCookies() const
|
| // We're intentionally using the URL of each document rather than the document's SecurityOrigin.
|
| // Sandboxing a document into a unique origin shouldn't effect first-/third-party status for
|
| // cookies and site data.
|
| - OriginAccessEntry accessEntry(topDocument().url().protocol(), topDocument().url().host(), OriginAccessEntry::AllowSubdomains);
|
| + OriginAccessEntry accessEntry(topDocument().url().protocol(), topDocument().url().host(), OriginAccessEntry::AllowRegisterableDomains);
|
| const Document* currentDocument = this;
|
| while (currentDocument) {
|
| // Skip over srcdoc documents, as they are always same-origin with their closest non-srcdoc parent.
|
|
|