http://bugzilla.opendarwin.org/show_bug.cgi?id=10661
REGRESSION: CFM plug-ins (Shockwave, SVG) are not loaded
* Plugins/WebBasePluginPackage.m:
(-[WebBasePluginPackage initWithPath:]): On 32-bit PowerPC, don't bail out if
the bundle is nil - it can be a CFM plugin.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@16450
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-09-19 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Tim O.
+
+ http://bugzilla.opendarwin.org/show_bug.cgi?id=10661
+ REGRESSION: CFM plug-ins (Shockwave, SVG) are not loaded
+
+ * Plugins/WebBasePluginPackage.m:
+ (-[WebBasePluginPackage initWithPath:]): On 32-bit PowerPC, don't bail out if
+ the bundle is nil - it can be a CFM plugin.
+
2006-09-18 Brady Eidson <beidson@apple.com>
Reviewed by Anders
path = [[self pathByResolvingSymlinksAndAliasesInPath:pluginPath] retain];
bundle = [[NSBundle alloc] initWithPath:path];
+#ifndef __ppc__
+ // 32-bit PowerPC is the only platform where non-bundled CFM plugins are supported
if (!bundle) {
[self release];
return nil;
}
+#endif
cfBundle = CFBundleCreate(NULL, (CFURLRef)[NSURL fileURLWithPath:path]);
extensionToMIME = [[NSMutableDictionary alloc] init];