Closed Bug 998809 Opened 10 years ago Closed 10 years ago

WidgetEvent::typeString is not always set correctly

Categories

(Core :: DOM: Events, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: Ms2ger, Assigned: smaug)

Details

Attachments

(2 files)

Attached file Test
Event::GetType sets typeString, but Event::initEvent doesn't update it. This causes issues when calling .initEvent() / .type / .initEvent() / .type; see test.
Hmm, we used to clear typeString
Assignee: nobody → bugs
Attachment #8409482 - Attachment mime type: text/plain → text/html
Attached patch patchSplinter Review
Attachment #8437916 - Flags: review?(masayuki)
Comment on attachment 8437916 [details] [diff] [review]
patch

Sorry, I missed this request.
Attachment #8437916 - Flags: review?(masayuki) → review+
Whaaat?
Pushed to try. Couldn't reproduce the mochitest error locally.
(and don't really see how the patch could have caused those errors.)

https://tbpl.mozilla.org/?tree=Try&rev=f3b344d2c384
https://hg.mozilla.org/mozilla-central/rev/6bfb8e486881
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: