Closed Bug 1466289 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 11312 - custom-elements: Element created by createElement(name, options) with valid custom element name and options set to undefined should be upgraded

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: wptsync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Justin Ribeiro <justin@justinribeiro.com> wrote:
>  custom-elements: Element created by createElement(name, options) with valid custom element name and options set to undefined should be upgraded
>  
>  createElement('my-element', undefined) was not being upgraded, though both
>  createElement('my-element') and createElement('my-element', {}) were.
>  
>  Bug: 841725
>  Test: bug.html from comment 11 on crbug.com/841725 reproduces the case;
>  Change-Id: Id43b21f8e1cad10745dedf3699691da7ad85cf03
>  also added WPT test to verify behavior.
>  Reviewed-on: https://chromium-review.googlesource.com/1084007
>  WPT-Export-Revision: 5cfe7c82f0b36e4de3b4fae2e41bc9174ffaf65f
Component: web-platform-tests → DOM
Product: Testing → Core
Ran 1 tests and 39 subtests
OK     : 1
PASS   : 34
FAIL   : 5
Pushed by james@hoppipolla.co.uk:
https://hg.mozilla.org/integration/mozilla-inbound/rev/6d6bfe66dde6
[wpt PR 11312] - custom-elements: Element created by createElement(name, options) with valid custom element name and options set to undefined should be upgraded, a=testonly
Pushed by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/mozilla-inbound/rev/30ad377d5162
[wpt PR 11312] - custom-elements: Element created by createElement(name, options) with valid custom element name and options set to undefined should be upgraded, a=testonly
https://hg.mozilla.org/mozilla-central/rev/30ad377d5162
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.