[Webkit-unassigned] [Bug 140188] New: HTTP body/bodystream (e.g., POST form data) is missing in WKNavigationDelegate callbacks
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 7 11:32:23 PST 2015
https://bugs.webkit.org/show_bug.cgi?id=140188
Bug ID: 140188
Summary: HTTP body/bodystream (e.g., POST form data) is missing
in WKNavigationDelegate callbacks
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: iOS
OS: All
Status: NEW
Severity: Major
Priority: P2
Component: WebKit2
Assignee: webkit-unassigned at lists.webkit.org
Reporter: stuartmorgan at chromium.org
Spun off of bug 1377299, POST data and any other HTTPBody or HTTPBodyStream is missing from NSURLRequest objects provided in the WKNavigationDelegate.
STR:
- Implement a WKNavigationDelegate
- Submit a form
- In webView:decidePolicyForNavigationAction:decisionHandler:, try to extract the form data via navigationAction.request.HTTPBody
None of the data is there (apparently by design, per comment 5 in the other bug).
This is a serious problem for Chromium, since we implement our own back/forward handling (for a variety of reasons, a significant one being the ability to sync tabs with history across devices, and to re-create tabs with full history across cold launches of the app--since there's no way to edit the history of a WKWebView, only read it, maintaining our own stack is our only option). This bug means that going back or forward to a page that includes any kind of HTTP body will fail to work correctly.
This is also filed as rdar://18399639
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150107/7b4e6d18/attachment-0002.html>
More information about the webkit-unassigned
mailing list