Title: [116695] trunk
- Revision
- 116695
- Author
- [email protected]
- Date
- 2012-05-10 15:45:41 -0700 (Thu, 10 May 2012)
Log Message
WebKit1: Add a way to blacklist specific plug-ins/plug-in versions
https://bugs.webkit.org/show_bug.cgi?id=86150
<rdar://problem/9551196>
Reviewed by Sam Weinig.
Source/WebCore:
* English.lproj/Localizable.strings:
Update.
* loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::loadPlugin):
It is possible that the client has already set the unavailability reason so don't try to set it twice.
* platform/LocalizedStrings.cpp:
(WebCore::insecurePluginVersionText):
* platform/LocalizedStrings.h:
Add insecure plug-in version text.
* rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::unavailablePluginReplacementText):
* rendering/RenderEmbeddedObject.h:
Add InsecurePluginVersion unavailability reason.
Source/WebKit/mac:
* Misc/WebKitErrors.h:
Add WebKitErrorInsecurePlugInVersion enum.
* Plugins/WebBasePluginPackage.h:
* Plugins/WebBasePluginPackage.mm:
(-[WebBasePluginPackage bundleIdentifier]):
(-[WebBasePluginPackage bundleVersion]):
Add bundleIdentifier and bundleVersion getters.
* WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::createPlugin):
Check if the plug-in is blocked. If it is, set the unavailability reason and the error code.
WebKitLibraries:
Add WKShouldBlockPlugin.
* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLion.a:
* libWebKitSystemInterfaceSnowLeopard.a:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (116694 => 116695)
--- trunk/Source/WebCore/ChangeLog 2012-05-10 22:11:57 UTC (rev 116694)
+++ trunk/Source/WebCore/ChangeLog 2012-05-10 22:45:41 UTC (rev 116695)
@@ -1,3 +1,28 @@
+2012-05-10 Anders Carlsson <[email protected]>
+
+ WebKit1: Add a way to blacklist specific plug-ins/plug-in versions
+ https://bugs.webkit.org/show_bug.cgi?id=86150
+ <rdar://problem/9551196>
+
+ Reviewed by Sam Weinig.
+
+ * English.lproj/Localizable.strings:
+ Update.
+
+ * loader/SubframeLoader.cpp:
+ (WebCore::SubframeLoader::loadPlugin):
+ It is possible that the client has already set the unavailability reason so don't try to set it twice.
+
+ * platform/LocalizedStrings.cpp:
+ (WebCore::insecurePluginVersionText):
+ * platform/LocalizedStrings.h:
+ Add insecure plug-in version text.
+
+ * rendering/RenderEmbeddedObject.cpp:
+ (WebCore::RenderEmbeddedObject::unavailablePluginReplacementText):
+ * rendering/RenderEmbeddedObject.h:
+ Add InsecurePluginVersion unavailability reason.
+
2012-05-10 Eric Seidel <[email protected]>
Make IFRAME_SEAMLESS child documents inherit styles from their parent iframe element
Modified: trunk/Source/WebCore/English.lproj/Localizable.strings (116694 => 116695)
--- trunk/Source/WebCore/English.lproj/Localizable.strings 2012-05-10 22:11:57 UTC (rev 116694)
+++ trunk/Source/WebCore/English.lproj/Localizable.strings 2012-05-10 22:45:41 UTC (rev 116695)
@@ -172,6 +172,9 @@
/ * U n d o a c t i o n n a m e * /
"