mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
fix: codegen on callback (#32537)
* Fix codegen on callback * Add test callbacks to testbinding.rs
This commit is contained in:
parent
d4db08113d
commit
63889b732f
3 changed files with 24 additions and 8 deletions
|
@ -43,6 +43,8 @@ dictionary TestDictionary {
|
|||
// in dictionaries.
|
||||
DOMString? nonRequiredNullable;
|
||||
DOMString? nonRequiredNullable2;
|
||||
SimpleCallback noCallbackImport;
|
||||
callbackWithOnlyOneOptionalArg noCallbackImport2;
|
||||
};
|
||||
|
||||
dictionary TestDictionaryParent {
|
||||
|
@ -594,6 +596,7 @@ partial interface TestBinding {
|
|||
};
|
||||
|
||||
callback SimpleCallback = undefined(any value);
|
||||
callback callbackWithOnlyOneOptionalArg = Promise<undefined> (optional any reason);
|
||||
|
||||
partial interface TestBinding {
|
||||
[Pref="dom.testable_crash.enabled"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue