gecko-dev/servo/components
Emilio Cobos Álvarez c75e54e0c3 Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt
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
2019-11-07 11:19:23 +00:00
..
derive_common Bug 1587368 - Cherry-pick updates towards syn 1. 2019-10-09 13:35:48 +02:00
fallible Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
hashglobe Bug 1579585 - Use fallible allocation for stylesheet invalidation. r=jwatt 2019-09-23 19:08:22 +00:00
malloc_size_of Bug 1593642 - servo: Add simple implementation of content-security-policy on scripts / styles. 2019-11-04 12:52:47 +00:00
selectors Bug 1591297 - Remove some XBL code in the style system. r=hiro 2019-10-25 12:19:21 +00:00
servo_arc Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt 2019-11-07 11:19:23 +00:00
size_of_test Bug 1511811 - Use https for the MPL license URL. 2018-12-03 08:43:48 -05:00
style Bug 1593865 - Simplify code for keeping alive shared memory until all sheets go away. r=jwatt 2019-11-07 11:19:23 +00:00
style_derive Bug 1587368 - Cherry-pick updates towards syn 1. 2019-10-09 13:35:48 +02:00
style_traits Bug 1429305 - Use serde to serialize LengthPercentage and StyleRayFunction. r=emilio 2019-10-31 21:35:05 +00:00
to_shmem Bug 1587368 - Cherry-pick updates towards syn 1. 2019-10-09 13:35:48 +02:00
to_shmem_derive Bug 1587368 - Cherry-pick updates towards syn 1. 2019-10-09 13:35:48 +02:00