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:
bors-servo 2020-06-16 19:27:53 -04:00 committed by GitHub
commit 0ce03d4dc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 57 additions and 4 deletions

View file

@ -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)]