Closed Bug 1337658 Opened 7 years ago Closed 7 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.
Comment on attachment 8834773 [details] [diff] [review]
patch

r=me
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
https://hg.mozilla.org/mozilla-central/rev/d286cc530247
Status: ASSIGNED → RESOLVED
Closed: 7 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: