[Webkit-unassigned] [Bug 84284] New: Hidden input field values cached

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 18 14:52:53 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84284

           Summary: Hidden input field values cached
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: michael.brailsford at touchnet.com


Created an attachment (id=137774)
 --> (https://bugs.webkit.org/attachment.cgi?id=137774&action=review)
simple html files to recreate the issue

Attached is a very simple pair of html files that demonstrate this issue.

page_a.html has a simple form with an input field with a given value.  page_a.html has a body onLoad event handler that submits the form which takes the user to page_b.html.

page_b.html also has a form with an input field with a different value that page_a.html.  Inspect the page while viewing page_b and the form value will not be the value from page_b, but it will be the value from page_a.  View the source, or refresh page_b.html and the correct page_b values are displayed.

If the automatic form submission from the onLoad is removed and a submit button is added to page_a.html, then page_b.html shows the correct values for the form element, and inspect and view source match.

If the automatic form submission is removed, and a button added to the form that submits the form on page_a with the same javascript as the onLoad event handler, then the values on page_b.html are those contained in the source file, and inspect and view source match.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list