зеркало из https://github.com/mozilla/gecko-dev.git
c75e54e0c3
The existing code wasn't sound, as CSSOM objects also needed to go away before the shared memory goes away (as they keep references to them). This is sound assuming no presence of reference cycles introduced by CSSOM. We may want to live with this and rely on chrome code not writing cycles like this with UA stylesheet DOM objects. We could explicitly drop all potentially-static objects... That seems pretty error prone though. Or we could also just leak the shared memory buffer, is there any reason why we may not want to do that? Differential Revision: https://phabricator.services.mozilla.com/D51870 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
tests | ||
Cargo.toml | ||
cbindgen.toml | ||
error_reporter.rs | ||
glue.rs | ||
lib.rs | ||
stylesheet_loader.rs |