NSPluginWrapper flash player is not working with WebKit2. Way to reproduce: chose a youtube video with MiniBrowser. Expected: video is playing. Current result: white screen, error message: *** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
This is actually a crash (web process), so set it to P1.
Created attachment 90706 [details] Patch
Comment on attachment 90706 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=90706&action=review > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:513 > + // Cheat the GTK version if we now that this plugin needs it or if the plugin call us know* > Source/WebKit2/WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp:520 > + RefPtr<NetscapePlugin> plugin = NetscapePlugin::fromNPP(npp); > + needToCheatGTKVersion = plugin->quirks().contains(PluginQuirks::RequiresGTKToolKit); this doesnt seem like cheating. Why not just call the variable "requiresGTKToolKit"
Created attachment 90707 [details] Patch
Fixed in http://trac.webkit.org/changeset/84634