mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #26929 - jdm:dict-jsval, r=nox
Convert parent dictionary values when converting dictionaries to JS - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #26928 - [x] There are tests for these changes OR
This commit is contained in:
commit
0ce03d4dc0
7 changed files with 57 additions and 4 deletions
|
@ -45,6 +45,14 @@ dictionary TestDictionary {
|
|||
DOMString? nonRequiredNullable2;
|
||||
};
|
||||
|
||||
dictionary TestDictionaryParent {
|
||||
DOMString parentStringMember;
|
||||
};
|
||||
|
||||
dictionary TestDictionaryWithParent : TestDictionaryParent {
|
||||
DOMString stringMember;
|
||||
};
|
||||
|
||||
dictionary TestDictionaryDefaults {
|
||||
boolean booleanValue = false;
|
||||
byte byteValue = 7;
|
||||
|
@ -571,6 +579,8 @@ interface TestBinding {
|
|||
|
||||
[Exposed=(Window)]
|
||||
readonly attribute boolean semiExposedBoolFromInterface;
|
||||
|
||||
TestDictionaryWithParent getDictionaryWithParent(DOMString parent, DOMString child);
|
||||
};
|
||||
|
||||
[Exposed=(Window)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue