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

@ -6,7 +6,6 @@
expected: FAIL
[XRSystem interface: operation isSessionSupported(XRSessionMode)]
expected: FAIL
[XRReferenceSpaceEvent interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
@ -75,7 +74,6 @@
expected: FAIL
[XRSystem interface: operation requestSession(XRSessionMode, optional XRSessionInit)]
expected: FAIL
[XRReferenceSpaceEvent interface object name]
expected: FAIL
@ -213,7 +211,6 @@
expected: FAIL
[XRSession interface: operation requestReferenceSpace(XRReferenceSpaceType)]
expected: FAIL
[XRWebGLLayer interface: xrWebGLLayer must inherit property "framebufferWidth" with the proper type]
expected: FAIL
@ -264,7 +261,6 @@
expected: FAIL
[XRSession interface: operation end()]
expected: FAIL
[XRSession interface: xrSession must inherit property "cancelAnimationFrame(unsigned long)" with the proper type]
expected: FAIL
@ -321,7 +317,6 @@
expected: FAIL
[WebGLRenderingContext interface: operation makeXRCompatible()]
expected: FAIL
[XRSession interface: attribute enabledFeatures]
expected: FAIL