[Webkit-unassigned] [Bug 137299] POST is missing a body after registerSchemeForCustomProtocol

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 7 06:18:35 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=137299


Stuart Morgan <stuartmorgan at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stuartmorgan at chromium.org




--- Comment #12 from Stuart Morgan <stuartmorgan at chromium.org>  2014-10-07 06:18:30 PST ---
(In reply to comment #0)
> If a custom NSURLProtocol is handling an HTTP POST request, the request HTTPBody is nil.
> This only happens if [WKBrowsingContextController registerSchemeForCustomProtocol:] is called for that protocol.

This is actually not true; the same problem exists in a stock WKWebView without calling any SPI. If you implement WKNavigationDelegate callbacks, the NSURLRequest provided in those callbacks is missing this data, so the delegate method is providing incorrect information to the client (this is filed as rdar://18399639 BTW).

Even without custom protocol handlers, Chrome needs this information in order to correctly implement our back-forward handling.

-- 
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