https://bugs.webkit.org/show_bug.cgi?id=173078
Reviewed by Anders Carlsson.
* WebProcess/WebProcess.cpp:
(WebKit::WebProcess::initializeWebProcess): Changed the order.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@217908
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2017-06-07 Dan Bernstein <mitz@apple.com>
+
+ [Cocoa] additionalReadAccessAllowedURLs should be consumed before loading the injected bundle
+ https://bugs.webkit.org/show_bug.cgi?id=173078
+
+ Reviewed by Anders Carlsson.
+
+ * WebProcess/WebProcess.cpp:
+ (WebKit::WebProcess::initializeWebProcess): Changed the order.
+
2017-06-07 Per Arne Vollan <pvollan@apple.com>
Support removal of authentication data through the Website data store API.
memoryPressureHandler.install();
}
- if (!parameters.injectedBundlePath.isEmpty())
- m_injectedBundle = InjectedBundle::create(parameters, transformHandlesToObjects(parameters.initializationUserData.object()).get());
-
for (size_t i = 0, size = parameters.additionalSandboxExtensionHandles.size(); i < size; ++i)
SandboxExtension::consumePermanently(parameters.additionalSandboxExtensionHandles[i]);
+ if (!parameters.injectedBundlePath.isEmpty())
+ m_injectedBundle = InjectedBundle::create(parameters, transformHandlesToObjects(parameters.initializationUserData.object()).get());
+
for (auto& supplement : m_supplements.values())
supplement->initialize(parameters);