do less copying when dispatching FontFaceLoadingEvents

RESOLVED FIXED in Firefox 54

Status

()

RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: heycam, Assigned: heycam)

Tracking

unspecified
mozilla54
Points:
---

Firefox Tracking Flags

(firefox54 fixed)

Details

Attachments

(1 attachment)

(Assignee)

Description

2 years ago
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+
(Assignee)

Updated

2 years ago
Keywords: checkin-needed

Comment 3

2 years ago
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

Comment 4

2 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/d286cc530247
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
status-firefox54: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
You need to log in before you can comment on or make changes to this bug.