Closed Bug 1337658 Opened 9 years ago Closed 9 years ago

do less copying when dispatching FontFaceLoadingEvents

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla54
Tracking Status
firefox54 --- fixed

People

(Reporter: heycam, Assigned: heycam)

Details

Attachments

(1 file)

When we dispatch loadingdone and loadingerror errors to a FontFaceSet, we do some copying into the event init dictionary's array, when we should be able to just move the arrays we've built up instead.
Attachment #8834773 - Flags: review?(bzbarsky) → review+
Keywords: checkin-needed
Pushed by ihsiao@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d286cc530247 Do less copying when dispatching FontFaceLoadingEvents. r=bz
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: