| Index: webkit/tools/npapi_layout_test_plugin/main.cpp
|
| diff --git a/webkit/tools/npapi_layout_test_plugin/main.cpp b/webkit/tools/npapi_layout_test_plugin/main.cpp
|
| index a85af00eaad3834c454115d06491e4cea46382d6..16190db4797e8331ebad37f770d98174eada9e47 100644
|
| --- a/webkit/tools/npapi_layout_test_plugin/main.cpp
|
| +++ b/webkit/tools/npapi_layout_test_plugin/main.cpp
|
| @@ -497,6 +497,12 @@ NPError NP_GetValue(NPP instance, NPPVariable variable, void *value)
|
| }
|
|
|
| const char* NP_GetMIMEDescription(void) {
|
| - return "application/x-webkit-test-netscape:testnetscape:test netscape content";
|
| + // The layout test LayoutTests/fast/js/navigator-mimeTypes-length.html
|
| + // asserts that the number of mimetypes handled by plugins should be
|
| + // greater than the number of plugins. This isn't true if we're
|
| + // the only plugin and we only handle one mimetype, so specify
|
| + // multiple mimetypes here.
|
| + return "application/x-webkit-test-netscape:testnetscape:test netscape content;"
|
| + "application/x-webkit-test-netscape2:testnetscape2:test netscape content2";
|
| }
|
| #endif
|
|
|