Closed Bug 517851 Opened 15 years ago Closed 15 years ago

nsJSEventListener's string/atom handling can be optimized a bit

Categories

(Core :: DOM: Events, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: smaug, Assigned: smaug)

References

Details

Attachments

(2 files)

Currently nsJSEventListener::HandleEvent does some string comparisons, but atom comparison would be faster. Also, the coming patch will fix beforeunload handling, if the event doesn't implement the interface.
Attached patch patch (deleted) — Splinter Review
No changes to beforeunload handling after all. Posted to tryserver.
Attachment #401828 - Flags: review?(jst)
Blocks: 516969
Attachment #401828 - Flags: superreview+
Attachment #401828 - Flags: review?(jst)
Attachment #401828 - Flags: review+
Attached patch up-to-date (deleted) — Splinter Review
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: