Index: Source/testing/runner/WebTestProxy.cpp |
diff --git a/Source/testing/runner/WebTestProxy.cpp b/Source/testing/runner/WebTestProxy.cpp |
index a5a9bede61b6bda69611d7ba3c7f4a1c74ecec51..2c9134a098b5c61bc50d1f06dfb085142d3ad122 100644 |
--- a/Source/testing/runner/WebTestProxy.cpp |
+++ b/Source/testing/runner/WebTestProxy.cpp |
@@ -923,7 +923,7 @@ bool WebTestProxyBase::createView(WebFrame*, const WebURLRequest& request, const |
WebPlugin* WebTestProxyBase::createPlugin(WebFrame* frame, const WebPluginParams& params) |
{ |
- if (params.mimeType == TestPlugin::mimeType()) |
+ if (params.mimeType.utf8().find(TestPlugin::mimeType().utf8(), 0) != std::string::npos) |
return TestPlugin::create(frame, params, m_delegate); |
return 0; |
} |