[Webkit-unassigned] [Bug 138169] WKWebView does not fully support custom NSURLProtocol
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 6 12:19:03 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=138169
--- Comment #28 from Pavel Zdenek <pavel at salsitasoft.com> ---
(In reply to comment #27)
> There is a major bug in the comment #25 approach, having a registered
> NSURLProtocol causes post bodies to be stripped.
I can imagine it being not a bug, but actually an intentional logic along the original behavior of not sending POST body. Where in both cases, the intent correctness can be discussed, but not treated as a bugfix. I have spent some time looking into WK2 sources, hoping to find an approximate place of such "bug". I got a gut feeling instead: when registerSchemeForCustomProtocol is invoked, things appear to get flipped to a "custom protocol" primarily on WK side and the IPC is just a subsystem. So a stripped POST request is made for that custom protocol, and when IPC pipe spits out "not interested", WK side simply goes on with the request already made. Take this with a shovel of salt, i'm a github skimmer, not WK contributor.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161206/b6ee6f53/attachment.html>
More information about the webkit-unassigned
mailing list