Closed Bug 1710682 Opened 3 years ago Closed 3 years ago

Make Event::GetEventName returns a char16_t

Categories

(Core :: DOM: Events, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: sefeng, Assigned: sefeng)

Details

Attachments

(1 file)

Event::GetEventName is been used in PerformanceEventTiming::TryGenerateEventTiming, which is a rather hot code.

We should make this method returns a char16_t, such that we don't need to do the NS_ConvertUTF8toUTF16 anymore.

Assignee: nobody → sefeng
Status: NEW → ASSIGNED
Pushed by sefeng@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/46147e4bc17d
Make Event::GetEventName returns a char16_t r=smaug
Severity: -- → N/A
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: