Reduce code duplication. Move some of CodegenRust.py to htmlconstructor.rs

This commit is contained in:
Warren Fisher 2020-01-14 19:21:08 -04:00 committed by Josh Matthews
parent 70c43b7a5c
commit 2da07ed164
4 changed files with 144 additions and 116 deletions

View file

@ -1,13 +0,0 @@
[HTMLElement-constructor.html]
[HTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directly]
expected: FAIL
[HTMLElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflect]
expected: FAIL
[HTMLElement constructor must not get .prototype until it finishes its registration sanity checks, calling proxy constructor directly]
expected: FAIL
[HTMLElement constructor must not get .prototype until it finishes its registration sanity checks, calling via Reflect]
expected: FAIL

View file

@ -1,10 +1,4 @@
[newtarget.html]
[HTMLParagraphElement constructor must not get .prototype until it finishes its extends sanity checks, calling proxy constructor directly]
expected: FAIL
[HTMLParagraphElement constructor must not get .prototype until it finishes its extends sanity checks, calling via Reflect]
expected: FAIL
[Custom Elements: [HTMLConstructor\] derives prototype from NewTarget]
expected: FAIL