Closed Bug 708701 Opened 8 years ago Closed 8 years ago

Implement HTML event ctors

Categories

(Core :: DOM: Events, defect)

x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

Details

(Keywords: dev-doc-needed)

Attachments

(2 files, 1 obsolete file)

HTML spec defines few events and has event ctors for them
Attached patch patch (obsolete) — Splinter Review
There can be some more events, but we don't support them fully atm anyway.
Attachment #580124 - Flags: review?(jst)
Comment on attachment 580124 [details] [diff] [review]
patch

Bah, I need to check whether those string attributes exist, since otherwise
they get value "undefined"
Attachment #580124 - Flags: review?(jst)
Attached patch patchSplinter Review
This is not so nice, but xpconnect's js->c++ just behaves in a wrong way in
'string' case.
Attachment #580124 - Attachment is obsolete: true
Attachment #580166 - Flags: review?(jst)
Attachment #580166 - Flags: review?(jst) → review+
Attached patch up-to-dateSplinter Review
https://hg.mozilla.org/mozilla-central/rev/141ae3a6ccd2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Keywords: dev-doc-needed
You need to log in before you can comment on or make changes to this bug.