diff options
author | Samson <16504129+sagudev@users.noreply.github.com> | 2023-08-10 23:46:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 21:46:06 +0000 |
commit | 450f8193a567ac6e5acd84e89fe73ed7ce137a78 (patch) | |
tree | 1c8418988d54fc4122d14218275927a523058413 /components/script/script_module.rs | |
parent | 1f7f4cf2bedd1819ae129c2ac327425a756b5299 (diff) | |
download | servo-450f8193a567ac6e5acd84e89fe73ed7ce137a78.tar.gz servo-450f8193a567ac6e5acd84e89fe73ed7ce137a78.zip |
Use mozjs tracing infrastructure (#29918)
* Update mozjs
https://github.com/servo/mozjs/commit/64711ec2e6dc4595df691bffc7f1e5052ab86c8d also fixes https://github.com/servo/servo/issues/30043
* Move to mozjs Traceable and introduce CustomTraceable
Diffstat (limited to 'components/script/script_module.rs')
-rw-r--r-- | components/script/script_module.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/script_module.rs b/components/script/script_module.rs index 01fe01e3472..f09ba9bf6c2 100644 --- a/components/script/script_module.rs +++ b/components/script/script_module.rs @@ -178,6 +178,7 @@ pub struct ModuleTree { // By default all maps in web specs are ordered maps // (https://infra.spec.whatwg.org/#ordered-map), however we can usually get away with using // stdlib maps and sets because we rarely iterate over them. + #[custom_trace] parent_identities: DomRefCell<IndexSet<ModuleIdentity>>, #[no_trace] descendant_urls: DomRefCell<IndexSet<ServoUrl>>, |