Closed Bug 641499 Opened 9 years ago Closed 9 years ago

Don't throw when event.type is called before initEvent

Categories

(Core :: DOM: Events, defect)

x86
All
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

Details

Attachments

(1 file)

No description provided.
Attached patch patchSplinter Review
Attachment #519163 - Flags: review?(jonas)
Comment on attachment 519163 [details] [diff] [review]
patch

>+  aType = EmptyString();

I think aType.Truncate() is the preferred way to do this.

r=me with that fixed.
Attachment #519163 - Flags: review?(jonas) → review+
Indeed. I'll change that.
http://hg.mozilla.org/mozilla-central/rev/f1ed7ccffc22
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.