-
Emilio Cobos Álvarez authored
Bug 1596992 - Avoid leaking ResizeObserver entries without active observations for the lifetime of the document. r=smaug By adding / removing to the observer list on observe() / unobserve() respectively, rather than only adding on construction per spec. See https://github.com/w3c/csswg-drafts/issues/4518 for the relevant spec issue. Differential Revision: https://phabricator.services.mozilla.com/D53816 --HG-- extra : moz-landing-system : lando
f81ed091