Bug 32791
Summary: | [Qt] QWebPage::acceptNavigationRequest is called twice for the same form submit... | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dawit A. <adawit> |
Component: | WebKit Qt | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | Normal | CC: | benjamin, kent.hansen |
Priority: | P3 | Keywords: | Qt |
Version: | 528+ (Nightly build) | ||
Hardware: | Other | ||
OS: | Linux |
Dawit A.
We reimplement acceptNavigationRequest in kdewebkit to do things like save form data on NavigationTypeFormSubmitted events. Currently on almost all form submit requests, we get duplicate calls to acceptNavigationRequest for a single form submit. That is we see two consecutive calls to this function with the same url, frame and navigation type! However, only one of those calls will eventually generate a PostOperation QNetworkRequest. This issue has been confirmed in both 4.5 and 4.6 version of QtWebKit.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Benjamin Poulain
Could you please attach a test case to reproduce the issue? You can do it standalone or as a patch for WebKit/qt/tests/qwebpage.
Kent Hansen
As Benjamin suggested, please provide a testcase so we can try to reproduce this issue.