mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 16:32:59 +00:00
added "application/x-java-applet" as another MIME type for applets. These should be in a header file somewhere.
This commit is contained in:
parent
ec23883af8
commit
1fdc87166b
@ -1387,8 +1387,8 @@ NS_IMETHODIMP nsPluginHostImpl::InstantiateEmbededPlugin(const char *aMimeType,
|
||||
instance->SetWindow(window);
|
||||
|
||||
// don't make an initial steam if it's a java applet
|
||||
if(!aMimeType || PL_strcasecmp(aMimeType, "application/x-java-vm"))
|
||||
rv = NewEmbededPluginStream(aURL, nsnull, instance);
|
||||
if(!aMimeType || (PL_strcasecmp(aMimeType, "application/x-java-vm") != 0 && PL_strcasecmp(aMimeType, "application/x-java-applet") != 0))
|
||||
rv = NewEmbededPluginStream(aURL, nsnull, instance);
|
||||
|
||||
NS_RELEASE(instance);
|
||||
}
|
||||
|
@ -1387,8 +1387,8 @@ NS_IMETHODIMP nsPluginHostImpl::InstantiateEmbededPlugin(const char *aMimeType,
|
||||
instance->SetWindow(window);
|
||||
|
||||
// don't make an initial steam if it's a java applet
|
||||
if(!aMimeType || PL_strcasecmp(aMimeType, "application/x-java-vm"))
|
||||
rv = NewEmbededPluginStream(aURL, nsnull, instance);
|
||||
if(!aMimeType || (PL_strcasecmp(aMimeType, "application/x-java-vm") != 0 && PL_strcasecmp(aMimeType, "application/x-java-applet") != 0))
|
||||
rv = NewEmbededPluginStream(aURL, nsnull, instance);
|
||||
|
||||
NS_RELEASE(instance);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user