Bug 83964 - Reset event propagation and canceled flags in Event.initEvent
: Reset event propagation and canceled flags in Event.initEvent
Status: RESOLVED FIXED
Product: WebKit
Classification: Unclassified
Component: Event Handling
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-13 17:26 PDT by Pablo Flouret
Modified: 2012-04-22 22:20 PDT (History)
6 users (show)

See Also:


Attachments
Patch (4.38 KB, patch)
2012-04-13 17:32 PDT, Pablo Flouret
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Pablo Flouret 2012-04-13 17:32:13 PDT
Created attachment 137185 [details]
Patch
Comment 2 Alexey Proskuryakov 2012-04-13 20:21:56 PDT
This looks like spinoff from bug 76607.

Does this behavior match both IE and Firefox?
Comment 3 Alexey Proskuryakov 2012-04-13 20:23:10 PDT
Comment on attachment 137185 [details]
Patch

Let's hold off with commit queue until there's some indication why we want this change.
Comment 4 Ryosuke Niwa 2012-04-13 20:29:51 PDT
(In reply to comment #3)
> (From update of attachment 137185 [details])
> Let's hold off with commit queue until there's some indication why we want this change.

Okay although I vaguely remember we had agreed on this behavior on #whatwg or somewhere on the public mailing lists. Will post if I came across the source.
Comment 5 Ryosuke Niwa 2012-04-22 22:10:20 PDT
Comment on attachment 137185 [details]
Patch

Found it: https://www.w3.org/Bugs/Public/show_bug.cgi?id=16332

DOM 3 and DOM 4 both explicitly mandate this new behavior now so that the same event may be re-dispatched later.

I think we should land the patch as is.
Comment 6 WebKit Review Bot 2012-04-22 22:20:04 PDT
Comment on attachment 137185 [details]
Patch

Clearing flags on attachment: 137185

Committed r114867: <http://trac.webkit.org/changeset/114867>
Comment 7 WebKit Review Bot 2012-04-22 22:20:08 PDT
All reviewed patches have been landed.  Closing bug.