Improve support for nested dictionaries

This commit is contained in:
Manish Goregaokar 2019-06-27 17:35:20 -07:00
parent 9e12b4175e
commit 3c7ceff46d
6 changed files with 12 additions and 24 deletions

View file

@ -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;
};

View file

@ -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;