| OLD | NEW |
| 1 Operations that return a Promise type should handle exceptions by returning a re
jected Promise with the exception. | 1 Operations that return a Promise type should handle exceptions by returning a re
jected Promise with the exception. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 PASS Rejected as expected: no arguments | 5 PASS Rejected as expected: no arguments |
| 6 PASS reason instanceof Error is true | 6 PASS reason instanceof Error is true |
| 7 TypeError: Failed to execute 'promiseCheck' on 'Internals': 5 arguments required
, but only 0 present. | 7 TypeError: Failed to execute 'promiseCheck' on 'Internals': 5 arguments required
, but only 0 present. |
| 8 PASS Resolved as expected: valid arguments | 8 PASS Resolved as expected: valid arguments |
| 9 PASS Resolved as expected: convert(long) | 9 PASS Resolved as expected: convert(long) |
| 10 PASS Resolved as expected: convert(boolean) | 10 PASS Resolved as expected: convert(boolean) |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 PASS Rejected as expected: type error(Dictionary) | 29 PASS Rejected as expected: type error(Dictionary) |
| 30 PASS reason instanceof Error is true | 30 PASS reason instanceof Error is true |
| 31 TypeError: Failed to execute 'promiseCheckWithoutExceptionState' on 'Internals':
parameter 1 ('arg1') is not an object. | 31 TypeError: Failed to execute 'promiseCheckWithoutExceptionState' on 'Internals':
parameter 1 ('arg1') is not an object. |
| 32 PASS Resolved as expected: convert(String...) | 32 PASS Resolved as expected: convert(String...) |
| 33 PASS Rejected as expected: conversion error(String...) | 33 PASS Rejected as expected: conversion error(String...) |
| 34 PASS reason instanceof Error is true | 34 PASS reason instanceof Error is true |
| 35 Error: Thrown from toString | 35 Error: Thrown from toString |
| 36 PASS Rejected as expected: range error(octet) | 36 PASS Rejected as expected: range error(octet) |
| 37 PASS reason instanceof Error is true | 37 PASS reason instanceof Error is true |
| 38 TypeError: Failed to execute 'promiseCheckRange' on 'Internals': Value is outsid
e the 'octet' value range. | 38 TypeError: Failed to execute 'promiseCheckRange' on 'Internals': Value is outsid
e the 'octet' value range. |
| 39 PASS Resolved as expected: valid argument (Location) |
| 40 PASS Resolved as expected: valid argument (Document) |
| 41 PASS Resolved as expected: valid argument (Location, long, long) |
| 42 PASS Rejected as expected: type error (Object) |
| 43 PASS reason instanceof Error is true |
| 44 TypeError: Failed to execute 'promiseCheckOverload' on 'Internals': No function
was found that matched the signature provided. |
| 45 PASS Rejected as expected: type error (Location, long) |
| 46 PASS reason instanceof Error is true |
| 47 TypeError: Failed to execute 'promiseCheckOverload' on 'Internals': Valid aritie
s are: [1, 3], but 2 arguments provided. |
| 39 PASS successfullyParsed is true | 48 PASS successfullyParsed is true |
| 40 | 49 |
| 41 TEST COMPLETE | 50 TEST COMPLETE |
| 42 | 51 |
| OLD | NEW |