Bug 3455 - Issuing [listener ignore] on form submits disables further submits in multi-frame document
Summary: Issuing [listener ignore] on form submits disables further submits in multi-f...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 412
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 20:48 PDT by Sebastien Boisvert
Modified: 2020-10-18 02:30 PDT (History)
2 users (show)

See Also:


Attachments
Testcase (38.09 KB, application/octet-stream)
2005-06-11 20:49 PDT, Sebastien Boisvert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Boisvert 2005-06-11 20:48:50 PDT
HTML document with two frames: Frame A contains a BUTTON with an onclick event that causes a form 
in Frame B to be submitted.
A policy delegate for the webview issues a [listener ignore] message on form submits, logs what values 
were submitted for feedback in console.

Submitting the form by clicking the BUTTON in Frame A works the first time; subsequent attempts 
result in the form not submitting, unless the Frame B receives a click inside its frame first. BUTTON in 
Frame A always sees the form in Frame B as a form object.

Tested on a new install of 10.4 updated to 10.4.1

Steps to reproduce
- run testcase Xcode project attached
- Click button in Frame A; feedback of form submission appears in console
- Click button in Frame A again; observe no feedback
- Click anywhere except submit button in Frame B, click button in Frame A again; observe feedback
- Click submit button in Frame B, then Click button in Frame A; observe no feedback for submit 
attempt from button in Frame A

This behavior is not observed if [listener ignore] is not issued (Frame B reloads with every submit)

This may be related to Apple bugreport 4042289
Comment 1 Sebastien Boisvert 2005-06-11 20:49:42 PDT
Created attachment 2261 [details]
Testcase
Comment 2 Alexey Proskuryakov 2006-05-22 03:46:08 PDT
Reassigning to webkit-unassigned, for more people to see this bug. Verified with r14514.