Bug 205731 - dispatchEvent() should not clear the event's isTrusted flag when it returns early
Summary: dispatchEvent() should not clear the event's isTrusted flag when it returns e...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL: https://dom.spec.whatwg.org/#dom-even...
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-01-03 10:08 PST by Chris Dumez
Modified: 2020-01-03 15:25 PST (History)
13 users (show)

See Also:


Attachments
Patch (3.61 KB, patch)
2020-01-03 10:09 PST, Chris Dumez
sam: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2020-01-03 10:08:17 PST
dispatchEvent() should not clear the event's isTrusted flag when it returns early:
- https://dom.spec.whatwg.org/#dom-eventtarget-dispatchevent
Comment 1 Chris Dumez 2020-01-03 10:09:33 PST
Created attachment 386695 [details]
Patch
Comment 2 Chris Dumez 2020-01-03 15:03:24 PST
Comment on attachment 386695 [details]
Patch

iOS needs rebaseline
Comment 3 Chris Dumez 2020-01-03 15:05:19 PST
Committed r254016: <https://trac.webkit.org/changeset/254016>
Comment 4 Radar WebKit Bug Importer 2020-01-03 15:06:19 PST
<rdar://problem/58308341>