| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index ed32db5dc9abfa7076b897f964dcde6993aa9b58..819235fb787ac547e42460dcdb752c693cca1799 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -4680,6 +4680,9 @@ void Document::initSecurityContext(const DocumentInit& initializer)
|
| return;
|
| }
|
|
|
| + if (initializer.isHostedInReservedIPRange())
|
| + setHostedInReservedIPRange();
|
| +
|
| if (!initializer.hasSecurityContext()) {
|
| // No source for a security context.
|
| // This can occur via document.implementation.createDocument().
|
|
|