mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
fc8170442c
r=av r=edburns@acm.org sr=waterson bug= 56019 /////////////////////////////////////////////////////////////////////////////// // Currently, in the MIME type info passed in by plugin, a ';' is used as the // separator of two MIME types, and also the sparator of a version in one MIME // type. For example: // "application/x-java-applet;version1.3::java(TM) plugin;application/x-java- // applet...". // The ambiguity of ';' causes the browser fail to parse the MIME types // correctly. // // This method parses the MIME type input, and replaces the MIME type // separators with '|' to eliminate the ambiguity of ';'. (The Windows version // also uses '|' as the MIME type separator.) // // Input format: "...type[;version]:[extension]:[desecription];..." // Output format: "...type[;version]:[extension]:[desecription]|..." // static void SetMIMETypeSeparator(char *minfo) { |
||
---|---|---|
.. | ||
.cvsignore | ||
Makefile.in | ||
makefile.win | ||
MANIFEST | ||
ns4xPlugin.cpp | ||
ns4xPlugin.h | ||
ns4xPluginInstance.cpp | ||
ns4xPluginInstance.h | ||
ns4xPluginStream.cpp | ||
ns4xPluginStream.h | ||
nsIPluginHost.h | ||
nsIPluginInstanceOwner.h | ||
nsMalloc.cpp | ||
nsMalloc.h | ||
nsPluginDocLoaderFactory.cpp | ||
nsPluginDocLoaderFactory.h | ||
nsPluginHostImpl.cpp | ||
nsPluginHostImpl.h | ||
nsPluginInstancePeer.cpp | ||
nsPluginInstancePeer.h | ||
nsPluginModule.cpp | ||
nsPluginSafety.h | ||
nsPluginsCID.h | ||
nsPluginsDir.h | ||
nsPluginsDirBeOS.cpp | ||
nsPluginsDirMac.cpp | ||
nsPluginsDirOS2.cpp | ||
nsPluginsDirUnix.cpp | ||
nsPluginsDirWin.cpp | ||
nsPluginStreamPeer.cpp | ||
nsPluginStreamPeer.h | ||
nsPluginViewer.cpp | ||
nsPluginViewer.h |