gecko-dev/layout
Emilio Cobos Álvarez 76df029933 Bug 1524246 - Cancel font loads from unlinking. r=jfkthame
When the FontFaceSet gets unlinked, we remove the strong pointer it holds to to
the UserFontSet.

This is not strictly necessary, since that object will no longer have any
reference to any other cycle collected object.

In any case, the loaders keep alive the user font entries, which _don't_ keep
alive the user font set (they have a weak reference instead). So if the user
font set is gone, all is bad.

Ensure we cancel all loads when unlinking rather than just when the object is
destroyed, and that the font face loader doesn't keep a reference to the user
font entry anymore after being canceled (this shouldn't be necessary either, but
it's better IMO).

Differential Revision: https://phabricator.services.mozilla.com/D18256

--HG--
extra : moz-landing-system : lando
2019-02-05 14:41:57 +00:00
..
base Bug 1525134 - Move image loads out of the style struct accessors. r=heycam 2019-02-05 19:47:29 +00:00
build Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-01-24 08:11:00 +00:00
doc Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
forms Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-04 19:10:18 +00:00
generic Bug 1525133: Explicitly skip orthogonal-flow children when determining last-baseline of a block from its children. r=mats 2019-02-05 19:45:46 +00:00
inspector Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
ipc Bug 1441308 - Split out document pieces of WebRenderLayerManager r=jrmuizel 2019-01-07 21:33:10 +00:00
mathml Bug 1514594: Part 3 - Change ChromeUtils.import API. 2019-01-17 10:18:31 -08:00
media
painting Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-02-04 19:10:18 +00:00
printing Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh 2019-01-21 09:58:50 -05:00
reftests Bug 1524031, frame-scrolling-attr-1.html fails randomly - allow some fuzzyness, r=emilio 2019-02-04 17:24:29 +02:00
style Bug 1524246 - Cancel font loads from unlinking. r=jfkthame 2019-02-05 14:41:57 +00:00
svg Bug 1525134 - Move image loads out of the style struct accessors. r=heycam 2019-02-05 19:47:29 +00:00
tables Bug 1525134 - Move image loads out of the style struct accessors. r=heycam 2019-02-05 19:47:29 +00:00
tools Bug 1522689 - Update command line help for several android test commands; r=bc 2019-02-01 07:18:05 -07:00
xul Bug 1525134 - Move image loads out of the style struct accessors. r=heycam 2019-02-05 19:47:29 +00:00
moz.build Bug 1521673 - Go through layout/tools/layout-debug even when tests are disabled. r=dmajor 2019-01-22 14:30:39 +00:00