diff options
author | piman <piman@chromium.org> | 2016-03-25 19:21:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-26 02:23:00 +0000 |
commit | af5d661c72f723eebb145b9df57dddc745d059c7 (patch) | |
tree | bb8906091b17e0d6df06c24fde125e3615b3fe9a /content | |
parent | 5454af3a1ad9788910f70e4a601d29da0bd37e60 (diff) | |
download | chromium_src-af5d661c72f723eebb145b9df57dddc745d059c7.zip chromium_src-af5d661c72f723eebb145b9df57dddc745d059c7.tar.gz chromium_src-af5d661c72f723eebb145b9df57dddc745d059c7.tar.bz2 |
Make the test NPAPI plugin not handle png
This is not a feature we have/need in PPAPI
BUG=493212
Review URL: https://codereview.chromium.org/1829293002
Cr-Commit-Position: refs/heads/master@{#383437}
Diffstat (limited to 'content')
-rw-r--r-- | content/shell/tools/plugin/mac/Info.plist | 9 | ||||
-rw-r--r-- | content/shell/tools/plugin/main.cpp | 2 | ||||
-rw-r--r-- | content/shell/tools/plugin/win/TestNetscapePlugin.rc | 6 |
3 files changed, 4 insertions, 13 deletions
diff --git a/content/shell/tools/plugin/mac/Info.plist b/content/shell/tools/plugin/mac/Info.plist index 689819766..6163742 100644 --- a/content/shell/tools/plugin/mac/Info.plist +++ b/content/shell/tools/plugin/mac/Info.plist @@ -44,15 +44,6 @@ <string>Simple Netscape plug-in that handles test content for WebKit</string> <key>WebPluginMIMETypes</key> <dict> - <key>image/png</key> - <dict> - <key>WebPluginExtensions</key> - <array> - <string>png</string> - </array> - <key>WebPluginTypeDescription</key> - <string>PNG image</string> - </dict> <key>application/x-webkit-test-netscape</key> <dict> <key>WebPluginExtensions</key> diff --git a/content/shell/tools/plugin/main.cpp b/content/shell/tools/plugin/main.cpp index ea969d4..0f1887e 100644 --- a/content/shell/tools/plugin/main.cpp +++ b/content/shell/tools/plugin/main.cpp @@ -842,7 +842,7 @@ NPError NPP_SetValue(NPP instance, NPNVariable variable, void *value) extern "C" const char* NP_GetMIMEDescription(void) { - return "application/x-webkit-test-netscape:testnetscape:test netscape content;image/png:png:PNG image"; + return "application/x-webkit-test-netscape:testnetscape:test netscape content"; } extern "C" diff --git a/content/shell/tools/plugin/win/TestNetscapePlugin.rc b/content/shell/tools/plugin/win/TestNetscapePlugin.rc index a485eeb..7c8245f 100644 --- a/content/shell/tools/plugin/win/TestNetscapePlugin.rc +++ b/content/shell/tools/plugin/win/TestNetscapePlugin.rc @@ -71,10 +71,10 @@ BEGIN BEGIN VALUE "CompanyName", "Apple Inc." VALUE "FileDescription", "Simple Netscape plug-in that handles test content for WebKit" - VALUE "FileExtents", "testnetscape|png" - VALUE "FileOpenName", "test netscape content|PNG image" + VALUE "FileExtents", "testnetscape" + VALUE "FileOpenName", "test netscape content" VALUE "LegalCopyright", "Copyright Apple Inc. 2007-2009" - VALUE "MIMEType", "application/x-webkit-test-netscape|image/png" + VALUE "MIMEType", "application/x-webkit-test-netscape" VALUE "OriginalFilename", "np_test_netscape_plugin.dll" VALUE "ProductName", "WebKit Test PlugIn" END |