Click here to download the Blitz Browser!

WPT

wpt / custom-elements / htmlconstructor / newtarget.html

Spec: https://html.spec.whatwg.org/multipage/custom-elements.html ↗

Runs: Chrome 155.0.8039.0 (wpt@a4fcd77aa, 2026-09-03) | Firefox 157.0a1 (wpt@cc4d45aa0, 2026-09-03) | Safari 251 preview (wpt@5ce815a83, 2026-08-27) | Ladybird 1.0-a9df8 (wpt@9b4cabf6d, 2026-09-03) | Servo Servo 0.6 (wpt@7e3d005d7, 2026-09-03) | Blitz 188486089 (wpt@a95401e4e, 2026-09-02)

View on the Blitz WPT dashboard | Open test on wpt.live | wpt.fyi

ChromeFirefoxSafariLadybirdServoBlitz
Total6/1010/1010/1010/1010/10NOT RUN
SubtestChromeFirefoxSafariLadybirdServoBlitz
Use NewTarget's prototype, not the one stored at definition timePASSPASSPASSPASSPASS
Rethrow any exceptions thrown while getting the prototypePASSPASSPASSPASSPASS
If prototype is not object (null), derives the fallback from NewTarget's realm (autonomous custom elements)PASSPASSPASSPASSPASS
If prototype is not object (null), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements)FAILPASSPASSPASSPASS
If prototype is not object (undefined), derives the fallback from NewTarget's realm (autonomous custom elements)PASSPASSPASSPASSPASS
If prototype is not object (undefined), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements)FAILPASSPASSPASSPASS
If prototype is not object (5), derives the fallback from NewTarget's realm (autonomous custom elements)PASSPASSPASSPASSPASS
If prototype is not object (5), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements)FAILPASSPASSPASSPASS
If prototype is not object (string), derives the fallback from NewTarget's realm (autonomous custom elements)PASSPASSPASSPASSPASS
If prototype is not object (string), derives the fallback from NewTarget's GetFunctionRealm (autonomous custom elements)FAILPASSPASSPASSPASS