From af5d661c72f723eebb145b9df57dddc745d059c7 Mon Sep 17 00:00:00 2001 From: piman Date: Fri, 25 Mar 2016 19:21:36 -0700 Subject: 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} --- content/shell/tools/plugin/mac/Info.plist | 9 --------- content/shell/tools/plugin/main.cpp | 2 +- content/shell/tools/plugin/win/TestNetscapePlugin.rc | 6 +++--- third_party/WebKit/LayoutTests/TestExpectations | 3 +++ .../WebKit/LayoutTests/fast/block/float/4145535Crash.html | 2 +- .../WebKit/LayoutTests/fast/replaced/replaced-breaking.html | 2 +- 6 files changed, 9 insertions(+), 15 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 @@ Simple Netscape plug-in that handles test content for WebKit WebPluginMIMETypes - image/png - - WebPluginExtensions - - png - - WebPluginTypeDescription - PNG image - application/x-webkit-test-netscape WebPluginExtensions 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 diff --git a/third_party/WebKit/LayoutTests/TestExpectations b/third_party/WebKit/LayoutTests/TestExpectations index b9d6580..3895e8f 100644 --- a/third_party/WebKit/LayoutTests/TestExpectations +++ b/third_party/WebKit/LayoutTests/TestExpectations @@ -1381,3 +1381,6 @@ crbug.com/592185 fast/repaint/fixed-right-in-page-scale.html [ Failure Pass ] crbug.com/592409 inspector-protocol/debugger/stepping-with-blackboxed-ranges.html [ NeedsManualRebaseline ] crbug.com/594595 [ Linux ] http/tests/security/mixedContent/websocket/insecure-websocket-in-secure-page-worker-allowed.html [ Timeout Pass ] + +crbug.com/493212 [ Linux ] fast/block/float/4145535Crash.html [ NeedsRebaseline ] +crbug.com/493212 [ Linux ] fast/replaced/replaced-breaking.html [ NeedsRebaseline ] diff --git a/third_party/WebKit/LayoutTests/fast/block/float/4145535Crash.html b/third_party/WebKit/LayoutTests/fast/block/float/4145535Crash.html index ccea589..d1f0f99 100644 --- a/third_party/WebKit/LayoutTests/fast/block/float/4145535Crash.html +++ b/third_party/WebKit/LayoutTests/fast/block/float/4145535Crash.html @@ -1,3 +1,3 @@ - + diff --git a/third_party/WebKit/LayoutTests/fast/replaced/replaced-breaking.html b/third_party/WebKit/LayoutTests/fast/replaced/replaced-breaking.html index 1368c31..2553a0a 100644 --- a/third_party/WebKit/LayoutTests/fast/replaced/replaced-breaking.html +++ b/third_party/WebKit/LayoutTests/fast/replaced/replaced-breaking.html @@ -15,7 +15,7 @@ - + -- cgit v1.1