Closed Bug 970248 Opened 6 years ago Closed 6 years ago

Simplify constructor of InternalUIEvent

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: masayuki, Assigned: masayuki)

Details

Attachments

(1 file)

No description provided.
Attached patch PatchSplinter Review
The detail value of most DOM events derived from UIEvent is 0 :-(
Attachment #8374713 - Flags: review?(bugs)
Comment on attachment 8374713 [details] [diff] [review]
Patch

This or aDetail = 0 in the ctor.
I guess this patch is nicer since it makes it more clear that which
member variable is set to none zero value.
Attachment #8374713 - Flags: review?(bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/07bb55ce62e3
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
Component: Event Handling → User events and focus handling
You need to log in before you can comment on or make changes to this bug.