| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 561e47cdb06709176e45f63e0daa8522746fbefa..a9c37fc3fdf0091bc437c81ad03d425e11523a14 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -3981,7 +3981,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.
|
|
|