Create meaningful tests for native promise handlers.

This commit is contained in:
Josh Matthews 2016-09-05 11:53:06 -04:00
parent 57b3ccd38c
commit ae81ab3972
3 changed files with 23 additions and 6 deletions

View file

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