Add exception to rejection logic in generic_call (#32950)

* exception in JS Promise

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* EXCEPTION_TO_REJECTION on generic_call

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* PromiseRejectionEvent should handle promise as object

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* expectations

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
This commit is contained in:
Samson 2024-08-06 19:12:31 +02:00 committed by GitHub
parent 1d464a576a
commit 68f4b359c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 62 additions and 76 deletions

View file

@ -1,9 +1,7 @@
[idlharness.any.html]
[Blob interface: operation text()]
expected: FAIL
[Blob interface: operation arrayBuffer()]
expected: FAIL
[FileReader interface: operation readAsBinaryString(Blob)]
expected: FAIL
@ -26,10 +24,8 @@
[idlharness.any.worker.html]
[Blob interface: operation text()]
expected: FAIL
[Blob interface: operation arrayBuffer()]
expected: FAIL
[FileReader interface: operation readAsBinaryString(Blob)]
expected: FAIL

View file

@ -1,9 +1,7 @@
[idlharness.html]
[Blob interface: operation text()]
expected: FAIL
[Blob interface: operation arrayBuffer()]
expected: FAIL
[FileReader interface: operation readAsBinaryString(Blob)]
expected: FAIL

View file

@ -1,9 +1,7 @@
[idlharness.worker.html]
[Blob interface: operation text()]
expected: FAIL
[Blob interface: operation arrayBuffer()]
expected: FAIL
[FileReader interface: operation readAsBinaryString(Blob)]
expected: FAIL