Changeset 85493 in webkit
- Timestamp:
- May 2, 2011 11:04:06 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r85484 r85493 1 2011-04-29 Steve Falkenburg <sfalken@apple.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Plug-in failed to initialize message should be called when Java fails to initialize 6 https://bugs.webkit.org/show_bug.cgi?id=59856 7 8 To match the WebKit1 behavior, WebKit2 should dispatch the plug-in failed 9 to initialize message when we can't instantiate the Java plug-in. 10 11 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: 12 (WebKit::WebFrameLoaderClient::createJavaAppletWidget): 13 1 14 2011-05-02 Sam Weinig <sam@webkit.org> 2 15 -
trunk/Source/WebKit2/WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp
r85109 r85493 1255 1255 PassRefPtr<Widget> WebFrameLoaderClient::createJavaAppletWidget(const IntSize& pluginSize, HTMLAppletElement* appletElement, const KURL& baseURL, const Vector<String>& paramNames, const Vector<String>& paramValues) 1256 1256 { 1257 return createPlugin(pluginSize, appletElement, KURL(), paramNames, paramValues, "application/x-java-applet", false); 1257 const String mimeType = "application/x-java-applet"; 1258 RefPtr<Widget> plugin = createPlugin(pluginSize, appletElement, KURL(), paramNames, paramValues, mimeType, false); 1259 if (!plugin) { 1260 if (WebPage* webPage = m_frame->page()) 1261 webPage->send(Messages::WebPageProxy::DidFailToInitializePlugin(mimeType)); 1262 } 1263 return plugin.release(); 1258 1264 } 1259 1265
Note: See TracChangeset
for help on using the changeset viewer.