[Webkit-unassigned] [Bug 84076] New: wantsAllStreams always returning false, preventing data pass-through for 500 server errors
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 16 14:13:02 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=84076
Summary: wantsAllStreams always returning false, preventing
data pass-through for 500 server errors
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.7
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: Plug-ins
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: harningt at gmail.com
Similar issue with Firefox that was resolved: https://bugzilla.mozilla.org/show_bug.cgi?id=660989
NPPVpluginWantsAllNetworkStreams is a required item for our plugin in dealing with web service request errors since they return 500 status codes.
Visible in trunk/Source/WebKit/mac/Plugins/Hosted/HostedNetscapePluginStream.mm line 200 is code that always returns false for HostedNetscapePluginStream::wantsAllStreams() and it is marked "TODO".
I couldn't find any other hosted plugin streams browsing through Trac, however I'm guessing this is probably affecting other items. Currently in progress is the massive checkout to see if this is present in other builds.
Reproducible: Always
Steps to Reproduce:
1. Setup an NPAPI plugin that handled NPP_GetValue return returns 'true' for NPPVpluginWantsAllNetworkStreams in the correct manner (or sets it using NPN_SetValue)
2. Ensure OOPP is enabled for the NPAPI plugin in question
3. Perform a web request known to return a non-200 result with NPP_GetURLNotify or NPP_PostURLNotify
Actual Results:
1) No callback to NPP_GetValue for NPPVpluginWantsAllNetworkStreams.
2) A URLNotify callback with failure and no additional data
Expected Results:
1) A callback to NPP_GetValue for NPPVpluginWantsAllNetworkStreams of not set already.
2) A full web request response with headers and data
This bug strongly affects software that we are trying to deploy.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list