mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Use mozjs tracing infrastructure (#29918)
* Update mozjs
64711ec2e6
also fixes https://github.com/servo/servo/issues/30043
* Move to mozjs Traceable and introduce CustomTraceable
This commit is contained in:
parent
1f7f4cf2be
commit
450f8193a5
20 changed files with 81 additions and 377 deletions
|
@ -19,16 +19,15 @@ use js::rust::HandleObject;
|
|||
use keyboard_types::{Key, Modifiers};
|
||||
use std::cell::Cell;
|
||||
|
||||
unsafe_no_jsmanaged_fields!(Key);
|
||||
unsafe_no_jsmanaged_fields!(Modifiers);
|
||||
|
||||
#[dom_struct]
|
||||
pub struct KeyboardEvent {
|
||||
uievent: UIEvent,
|
||||
key: DomRefCell<DOMString>,
|
||||
#[no_trace]
|
||||
typed_key: DomRefCell<Key>,
|
||||
code: DomRefCell<DOMString>,
|
||||
location: Cell<u32>,
|
||||
#[no_trace]
|
||||
modifiers: Cell<Modifiers>,
|
||||
repeat: Cell<bool>,
|
||||
is_composing: Cell<bool>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue