mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Root any
members in dictionaries
This commit is contained in:
parent
760e0a5b57
commit
64dc0c4b9e
4 changed files with 39 additions and 19 deletions
|
@ -348,12 +348,12 @@ impl TestBindingMethods for TestBinding {
|
|||
fn ReceiveNullableSequence(&self) -> Option<Vec<i32>> { Some(vec![1]) }
|
||||
fn ReceiveTestDictionaryWithSuccessOnKeyword(&self) -> RootedTraceableBox<TestDictionary> {
|
||||
RootedTraceableBox::new(TestDictionary {
|
||||
anyValue: Heap::default(),
|
||||
anyValue: RootedTraceableBox::new(Heap::default()),
|
||||
booleanValue: None,
|
||||
byteValue: None,
|
||||
dict: RootedTraceableBox::new(TestDictionaryDefaults {
|
||||
UnrestrictedDoubleValue: 0.0,
|
||||
anyValue: Heap::default(),
|
||||
anyValue: RootedTraceableBox::new(Heap::default()),
|
||||
booleanValue: false,
|
||||
bytestringValue: ByteString::new(vec![]),
|
||||
byteValue: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue