Closed Bug 1443707 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 9869 - Add tests for customElements.upgrade()

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: mozilla.org, Unassigned)

Details

(Whiteboard: [wptsync downstream])

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

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

Domenic Denicola wrote:
>  Add tests for customElements.upgrade()
>  
>  Follows https://github.com/whatwg/html/pull/3535.
>  
>  Ideas for more tests welcome, although testing against no implementations is a bit rough.
>  
>  
>
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 5 subtests
OK     : 1
FAIL   : 5

New tests that have failures or other problems:
/custom-elements/custom-element-registry/upgrade.html
    Elements inside a template contents DocumentFragment node: FAIL
    Two elements as children of the upgraded node: FAIL
    Two elements as descendants of the upgraded node: FAIL
    Two elements as shadow-including descendants (and not descendants) of the upgraded node: FAIL
    Upgrading an element directly (example from the spec): FAIL
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/ce9bf92f06c0
[wpt PR 9869] - Add tests for customElements.upgrade(), a=testonly
https://hg.mozilla.org/integration/mozilla-inbound/rev/a224ce1fb9e3
[wpt PR 9869] - Update wpt metadata, a=testonly
https://hg.mozilla.org/mozilla-central/rev/ce9bf92f06c0
https://hg.mozilla.org/mozilla-central/rev/a224ce1fb9e3
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla61
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.