Bug 133716

Summary: Can't trigger a POST form resubmit confirm when using location.reload().
Product: WebKit Reporter: j5726 <jhyp5726>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
bug demo none

Description j5726 2014-06-10 20:48:53 PDT
After a post query submit, When refresh the page, there should be a confirm dialog for users to resubmit the form.

But in the new webkit version, When using JS code as  location.reload(), the confirm dialog didn't be triggered, but directly reload the page and clear the query result.
Comment 1 j5726 2014-06-10 20:49:33 PDT
Created attachment 232845 [details]
bug demo

bug demo