mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Remove mozjs dep from malloc_size_of.
This commit is contained in:
parent
0a5aab6cc2
commit
57d2b5a92d
21 changed files with 30 additions and 16 deletions
|
@ -145,6 +145,7 @@ pub struct GlobalScope {
|
|||
/// they're consumed before it'd be reported.
|
||||
///
|
||||
/// <https://html.spec.whatwg.org/multipage/#about-to-be-notified-rejected-promises-list>
|
||||
#[ignore_malloc_size_of = "mozjs"]
|
||||
uncaught_rejections: DomRefCell<Vec<Box<Heap<*mut JSObject>>>>,
|
||||
|
||||
/// Promises in this list have previously been reported as rejected
|
||||
|
@ -152,6 +153,7 @@ pub struct GlobalScope {
|
|||
/// in the last turn of the event loop.
|
||||
///
|
||||
/// <https://html.spec.whatwg.org/multipage/#outstanding-rejected-promises-weak-set>
|
||||
#[ignore_malloc_size_of = "mozjs"]
|
||||
consumed_rejections: DomRefCell<Vec<Box<Heap<*mut JSObject>>>>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue