| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 507d627f874bfd3470db64f9c514df53beb3012b..ef6ee432113e3cde5abba776a6b3a5475f83941a 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -4676,6 +4676,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().
|
|
|