Title: [210603] trunk/Source
- Revision
- 210603
- Author
- ander...@apple.com
- Date
- 2017-01-11 15:55:37 -0800 (Wed, 11 Jan 2017)
Log Message
navigator.plugins.refresh and WKContextRefreshPlugIns doesn't pick up changes to already-present plug-ins
https://bugs.webkit.org/show_bug.cgi?id=166942
rdar://problem/29839194
Reviewed by Sam Weinig.
Source/WebKit2:
Use _CFBundleCreateUnique so the resulting bundle won't be cached.
* Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
(WebKit::NetscapePluginModule::getPluginInfo):
Source/WTF:
* wtf/spi/cf/CFBundleSPI.h:
Add SPI declaration.
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (210602 => 210603)
--- trunk/Source/WTF/ChangeLog 2017-01-11 23:07:39 UTC (rev 210602)
+++ trunk/Source/WTF/ChangeLog 2017-01-11 23:55:37 UTC (rev 210603)
@@ -1,3 +1,14 @@
+2017-01-11 Anders Carlsson <ander...@apple.com>
+
+ navigator.plugins.refresh and WKContextRefreshPlugIns doesn't pick up changes to already-present plug-ins
+ https://bugs.webkit.org/show_bug.cgi?id=166942
+ rdar://problem/29839194
+
+ Reviewed by Sam Weinig.
+
+ * wtf/spi/cf/CFBundleSPI.h:
+ Add SPI declaration.
+
2017-01-06 Gustavo Noronha Silva <gustavo.noro...@collabora.co.uk>
[GTK] Should support key and code properties on keyboard events
Modified: trunk/Source/WTF/wtf/spi/cf/CFBundleSPI.h (210602 => 210603)
--- trunk/Source/WTF/wtf/spi/cf/CFBundleSPI.h 2017-01-11 23:07:39 UTC (rev 210602)
+++ trunk/Source/WTF/wtf/spi/cf/CFBundleSPI.h 2017-01-11 23:55:37 UTC (rev 210603)
@@ -38,6 +38,7 @@
void _CFBundleSetupXPCBootstrap(xpc_object_t bootstrap);
+CFBundleRef _CFBundleCreateUnique(CFAllocatorRef, CFURLRef bundleURL);
Boolean CFBundleGetLocalizationInfoForLocalization(CFStringRef localizationName, SInt32 *languageCode, SInt32 *regionCode, SInt32 *scriptCode, CFStringEncoding *stringEncoding);
CFStringRef CFBundleCopyLocalizationForLocalizationInfo(SInt32 languageCode, SInt32 regionCode, SInt32 scriptCode, CFStringEncoding stringEncoding);
Modified: trunk/Source/WebKit2/ChangeLog (210602 => 210603)
--- trunk/Source/WebKit2/ChangeLog 2017-01-11 23:07:39 UTC (rev 210602)
+++ trunk/Source/WebKit2/ChangeLog 2017-01-11 23:55:37 UTC (rev 210603)
@@ -1,5 +1,18 @@
2017-01-11 Anders Carlsson <ander...@apple.com>
+ navigator.plugins.refresh and WKContextRefreshPlugIns doesn't pick up changes to already-present plug-ins
+ https://bugs.webkit.org/show_bug.cgi?id=166942
+ rdar://problem/29839194
+
+ Reviewed by Sam Weinig.
+
+ Use _CFBundleCreateUnique so the resulting bundle won't be cached.
+
+ * Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm:
+ (WebKit::NetscapePluginModule::getPluginInfo):
+
+2017-01-11 Anders Carlsson <ander...@apple.com>
+
REGRESSION: Crash in com.apple.WebKit: IPC::Connection::sendMessage(std::__1::unique_ptr<IPC::MachMessage, std::__1::default_delete<IPC::MachMessage> >) + 27
https://bugs.webkit.org/show_bug.cgi?id=165854
rdar://problem/29757269
Modified: trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm (210602 => 210603)
--- trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm 2017-01-11 23:07:39 UTC (rev 210602)
+++ trunk/Source/WebKit2/Shared/Plugins/Netscape/mac/NetscapePluginModuleMac.mm 2017-01-11 23:55:37 UTC (rev 210603)
@@ -32,6 +32,7 @@
#import "PluginSandboxProfile.h"
#import <wtf/HashSet.h>
#import <wtf/MainThread.h>
+#import <wtf/spi/cf/CFBundleSPI.h>
using namespace WebCore;
@@ -208,7 +209,7 @@
RetainPtr<CFURLRef> bundleURL = adoptCF(CFURLCreateWithFileSystemPath(kCFAllocatorDefault, pluginPath.createCFString().get(), kCFURLPOSIXPathStyle, false));
// Try to initialize the bundle.
- RetainPtr<CFBundleRef> bundle = adoptCF(CFBundleCreate(kCFAllocatorDefault, bundleURL.get()));
+ RetainPtr<CFBundleRef> bundle = adoptCF(_CFBundleCreateUnique(kCFAllocatorDefault, bundleURL.get()));
if (!bundle)
return false;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes