Bug 32791

Summary: [Qt] QWebPage::acceptNavigationRequest is called twice for the same form submit...
Product: WebKit Reporter: Dawit A. <adawit>
Component: WebKit QtAssignee: 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.
Reported 2009-12-20 07:30:17 PST
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
Benjamin Poulain
Comment 1 2010-03-05 15:40:09 PST
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
Comment 2 2010-03-10 06:53:20 PST
As Benjamin suggested, please provide a testcase so we can try to reproduce this issue.
Note You need to log in before you can comment on or make changes to this bug.