Closed Bug 1529797 Opened 10 months ago Closed 9 months ago

[wpt-sync] Sync PR 15123 - html,custom-elements: Add tests for HTMLElement.attachInternals()

Categories

(Core :: DOM: Core & HTML, enhancement, P4)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

html,custom-elements: Add tests for HTMLElement.attachInternals()

Issue: https://github.com/w3c/webcomponents/issues/758
Specification PR: https://github.com/whatwg/html/pull/4324

Component: web-platform-tests → DOM
Product: Testing → Core
Ran 134 tests and 18889 subtests
OK     : 134
PASS   : 15383
FAIL   : 3506

New tests that have failures or other problems:
/custom-elements/HTMLElement-attachInternals.html
    If a custom element definition for the local name of the element doesn't exist, throw an InvalidStateError: FAIL
    If a custom element definition for the local name of the element has disable internals flag, throw a NotSupportedError: FAIL
    Successful attachInternals() and the second call.: FAIL
    attachInternals() throws a NotSupportedError if it is called for a customized built-in element: FAIL
/html/dom/interfaces.https.html?exclude=(Document|Window|HTML.*)
    ElementInternals interface object length: FAIL
    ElementInternals interface object name: FAIL
    ElementInternals interface: existence and properties of interface object: FAIL
    ElementInternals interface: existence and properties of interface prototype object: FAIL
    ElementInternals interface: existence and properties of interface prototype object's "constructor" property: FAIL
    ElementInternals interface: existence and properties of interface prototype object's @@unscopables property: FAIL
/html/dom/interfaces.https.html?include=HTML.*
    HTMLElement interface: document.createElement("noscript") must inherit property "attachInternals()" with the proper type: FAIL
    HTMLElement interface: operation attachInternals(): FAIL
Component: DOM → DOM: Core & HTML
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/2f7275c284b1
[wpt PR 15123] - html,custom-elements: Add tests for HTMLElement.attachInternals(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/6b7cb75d72aa
[wpt PR 15123] - Update wpt metadata, a=testonly
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fd7d7f58d4af
[wpt PR 15123] - html,custom-elements: Add tests for HTMLElement.attachInternals(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/95d12532889b
[wpt PR 15123] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.