Closed Bug 1931126 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 49159 - Enable ShadowRealm testing for DOMException

Categories

(Core :: DOM: Bindings (WebIDL), task, P4)

task

Tracking

()

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 49159 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/49159
Details from upstream follow.

Philip Chimento <pchimento@igalia.com> wrote:

Enable ShadowRealm testing for DOMException

Adds the appropriate metadata for the existing tests for the functionality of DOMException to additionally be tested in a ShadowRealm.

Adds the same IDL array to the IDL tests for DOMExceptions in ShadowRealm as for DOMExceptions in other realms.

Component: web-platform-tests → DOM: Bindings (WebIDL)
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 13 tests and 59 subtests

Status Summary

Firefox

OK : 8[GitHub] 9[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt]
PASS : 230
FAIL : 59
ERROR: 4[Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] 5[GitHub]

Chrome

OK : 8
PASS : 228
FAIL : 2
ERROR: 5

Safari

OK : 8
PASS : 228
FAIL : 2
ERROR: 5

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

  • /webidl/ecmascript-binding/es-exceptions/DOMException-constants.any.shadowrealm.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
  • /webidl/ecmascript-binding/es-exceptions/DOMException-constructor-and-prototype.any.shadowrealm.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
  • /webidl/ecmascript-binding/es-exceptions/DOMException-constructor-behavior.any.shadowrealm.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
  • /webidl/ecmascript-binding/es-exceptions/DOMException-custom-bindings.any.shadowrealm.html [wpt.fyi]: ERROR (Chrome: ERROR, Safari: ERROR)
  • /webidl/idlharness-shadowrealm.window.html [wpt.fyi]: ERROR [GitHub], OK [Gecko-android-em-7.0-x86_64-lite-qr-opt-geckoview, Gecko-android-em-7.0-x86_64-qr-debug-geckoview, Gecko-android-em-7.0-x86_64-qr-opt-geckoview, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows11-32-2009-qr-debug, Gecko-windows11-32-2009-qr-opt, Gecko-windows11-64-2009-qr-debug, Gecko-windows11-64-2009-qr-opt] (Chrome: ERROR, Safari: ERROR)
    • DOMException interface: existence and properties of interface object: FAIL
    • DOMException interface object length: FAIL
    • DOMException interface object name: FAIL
    • DOMException interface: existence and properties of interface prototype object: FAIL
    • DOMException interface: existence and properties of interface prototype object's "constructor" property: FAIL
    • DOMException interface: existence and properties of interface prototype object's @@unscopables property: FAIL
    • DOMException interface: attribute name: FAIL
    • DOMException interface: attribute message: FAIL
    • DOMException interface: attribute code: FAIL
    • DOMException interface: constant INDEX_SIZE_ERR on interface object: FAIL
    • DOMException interface: constant INDEX_SIZE_ERR on interface prototype object: FAIL
    • DOMException interface: constant DOMSTRING_SIZE_ERR on interface object: FAIL
    • DOMException interface: constant DOMSTRING_SIZE_ERR on interface prototype object: FAIL
    • DOMException interface: constant HIERARCHY_REQUEST_ERR on interface object: FAIL
    • DOMException interface: constant HIERARCHY_REQUEST_ERR on interface prototype object: FAIL
    • DOMException interface: constant WRONG_DOCUMENT_ERR on interface object: FAIL
    • DOMException interface: constant WRONG_DOCUMENT_ERR on interface prototype object: FAIL
    • DOMException interface: constant INVALID_CHARACTER_ERR on interface object: FAIL
    • DOMException interface: constant INVALID_CHARACTER_ERR on interface prototype object: FAIL
    • DOMException interface: constant NO_DATA_ALLOWED_ERR on interface object: FAIL
    • DOMException interface: constant NO_DATA_ALLOWED_ERR on interface prototype object: FAIL
    • DOMException interface: constant NO_MODIFICATION_ALLOWED_ERR on interface object: FAIL
    • DOMException interface: constant NO_MODIFICATION_ALLOWED_ERR on interface prototype object: FAIL
    • DOMException interface: constant NOT_FOUND_ERR on interface object: FAIL
    • DOMException interface: constant NOT_FOUND_ERR on interface prototype object: FAIL
    • DOMException interface: constant NOT_SUPPORTED_ERR on interface object: FAIL
    • DOMException interface: constant NOT_SUPPORTED_ERR on interface prototype object: FAIL
    • DOMException interface: constant INUSE_ATTRIBUTE_ERR on interface object: FAIL
    • DOMException interface: constant INUSE_ATTRIBUTE_ERR on interface prototype object: FAIL
    • DOMException interface: constant INVALID_STATE_ERR on interface object: FAIL
    • DOMException interface: constant INVALID_STATE_ERR on interface prototype object: FAIL
    • DOMException interface: constant SYNTAX_ERR on interface object: FAIL
    • DOMException interface: constant SYNTAX_ERR on interface prototype object: FAIL
    • DOMException interface: constant INVALID_MODIFICATION_ERR on interface object: FAIL
    • DOMException interface: constant INVALID_MODIFICATION_ERR on interface prototype object: FAIL
    • DOMException interface: constant NAMESPACE_ERR on interface object: FAIL
    • DOMException interface: constant NAMESPACE_ERR on interface prototype object: FAIL
    • DOMException interface: constant INVALID_ACCESS_ERR on interface object: FAIL
    • DOMException interface: constant INVALID_ACCESS_ERR on interface prototype object: FAIL
    • DOMException interface: constant VALIDATION_ERR on interface object: FAIL
    • DOMException interface: constant VALIDATION_ERR on interface prototype object: FAIL
    • DOMException interface: constant TYPE_MISMATCH_ERR on interface object: FAIL
    • DOMException interface: constant TYPE_MISMATCH_ERR on interface prototype object: FAIL
    • DOMException interface: constant SECURITY_ERR on interface object: FAIL
    • DOMException interface: constant SECURITY_ERR on interface prototype object: FAIL
    • DOMException interface: constant NETWORK_ERR on interface object: FAIL
    • DOMException interface: constant NETWORK_ERR on interface prototype object: FAIL
    • DOMException interface: constant ABORT_ERR on interface object: FAIL
    • DOMException interface: constant ABORT_ERR on interface prototype object: FAIL
    • DOMException interface: constant URL_MISMATCH_ERR on interface object: FAIL
    • DOMException interface: constant URL_MISMATCH_ERR on interface prototype object: FAIL
    • DOMException interface: constant QUOTA_EXCEEDED_ERR on interface object: FAIL
    • DOMException interface: constant QUOTA_EXCEEDED_ERR on interface prototype object: FAIL
    • DOMException interface: constant TIMEOUT_ERR on interface object: FAIL
    • DOMException interface: constant TIMEOUT_ERR on interface prototype object: FAIL
    • DOMException interface: constant INVALID_NODE_TYPE_ERR on interface object: FAIL
    • DOMException interface: constant INVALID_NODE_TYPE_ERR on interface prototype object: FAIL
    • DOMException interface: constant DATA_CLONE_ERR on interface object: FAIL
    • DOMException interface: constant DATA_CLONE_ERR on interface prototype object: FAIL
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1cb731d69125 [wpt PR 49159] - Enable ShadowRealm testing for DOMException, a=testonly https://hg.mozilla.org/integration/autoland/rev/8fee75905953 [wpt PR 49159] - Update wpt metadata, a=testonly
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d5b5723b4033 [wpt PR 49159] - Enable ShadowRealm testing for DOMException, a=testonly https://hg.mozilla.org/integration/autoland/rev/b5b3fdde6e81 [wpt PR 49159] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.