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.
Created attachment 8834773 [details] [diff] [review] patch https://treeherder.mozilla.org/#/jobs?repo=try&revision=1d7db0767563d77dc0082513d8cd581ebf10fcbf&group_state=expanded
Comment on attachment 8834773 [details] [diff] [review] patch r=me
Pushed by email@example.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/d286cc530247 Do less copying when dispatching FontFaceLoadingEvents. r=bz