mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Improve support for nested dictionaries
This commit is contained in:
parent
9e12b4175e
commit
3c7ceff46d
6 changed files with 12 additions and 24 deletions
|
@ -25,8 +25,8 @@ interface DOMQuad {
|
|||
};
|
||||
|
||||
dictionary DOMQuadInit {
|
||||
DOMPointInit p1;
|
||||
DOMPointInit p2;
|
||||
DOMPointInit p3;
|
||||
DOMPointInit p4;
|
||||
DOMPointInit p1 = null;
|
||||
DOMPointInit p2 = null;
|
||||
DOMPointInit p3 = null;
|
||||
DOMPointInit p4 = null;
|
||||
};
|
||||
|
|
|
@ -32,7 +32,7 @@ dictionary TestDictionary {
|
|||
Blob interfaceValue;
|
||||
any anyValue;
|
||||
object objectValue;
|
||||
TestDictionaryDefaults dict;
|
||||
TestDictionaryDefaults dict = null;
|
||||
sequence<TestDictionaryDefaults> seqDict;
|
||||
// Testing codegen to import Element correctly, ensure no other code references Element directly
|
||||
sequence<Element> elementSequence;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue