mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Create meaningful tests for native promise handlers.
This commit is contained in:
parent
57b3ccd38c
commit
ae81ab3972
3 changed files with 23 additions and 6 deletions
|
@ -516,6 +516,8 @@ interface TestBinding {
|
|||
void acceptPromise(Promise<DOMString> string);
|
||||
void acceptNullablePromise(Promise<DOMString>? string);
|
||||
Promise<any> promiseNativeHandler(SimpleCallback? resolve, SimpleCallback? reject);
|
||||
void promiseResolveNative(Promise<any> p, any value);
|
||||
void promiseRejectNative(Promise<any> p, any value);
|
||||
|
||||
void panic();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue