https://bugs.webkit.org/show_bug.cgi?id=116359
The condition was accidentally negated, fixing.
* WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
(WebKit::WebPlatformStrategies::isAvailable):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@150322
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2013-05-17 Alexey Proskuryakov <ap@apple.com>
+
+ <rdar://problem/13819878> Disable SharedWorker when in multiple web process model
+ https://bugs.webkit.org/show_bug.cgi?id=116359
+
+ The condition was accidentally negated, fixing.
+
+ * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp:
+ (WebKit::WebPlatformStrategies::isAvailable):
+
2013-05-17 Gavin Barraclough <barraclough@apple.com>
Only allow 1 WebProcess to hold a PageCache
{
// Shared workers do not work across multiple processes, and using network process is tied to multiple secondary process model.
#if ENABLE(NETWORK_PROCESS)
- return WebProcess::shared().usesNetworkProcess();
+ return !WebProcess::shared().usesNetworkProcess();
#else
return true;
#endif