Implement DOMTokenList.supports API

This commit is contained in:
Vincent Ricard 2020-09-20 23:05:41 +02:00
parent 3f7697690a
commit 2a4dd894de
20 changed files with 147 additions and 72 deletions

View file

@ -17,12 +17,6 @@
[alt on HTMLAreaElement must enqueue an attributeChanged reaction when adding a new attribute]
expected: FAIL
[rel on HTMLAreaElement must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL
[rel on HTMLAreaElement must enqueue an attributeChanged reaction when adding a new attribute]
expected: FAIL
[ping on HTMLAreaElement must enqueue an attributeChanged reaction when replacing an existing attribute]
expected: FAIL

View file

@ -68,9 +68,6 @@
[Event interface: new CustomEvent("foo") must inherit property "composed" with the proper type]
expected: FAIL
[DOMTokenList interface: document.body.classList must inherit property "supports(DOMString)" with the proper type]
expected: FAIL
[StaticRange interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
@ -179,9 +176,6 @@
[AbstractRange interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[DOMTokenList interface: operation supports(DOMString)]
expected: FAIL
[EventTarget interface: calling dispatchEvent(Event) on new AbortController().signal with too few arguments must throw TypeError]
expected: FAIL
@ -212,9 +206,6 @@
[Event interface: document.createEvent("Event") must inherit property "composedPath()" with the proper type]
expected: FAIL
[DOMTokenList interface: calling supports(DOMString) on document.body.classList with too few arguments must throw TypeError]
expected: FAIL
[StaticRange interface object length]
expected: FAIL

View file

@ -8,7 +8,3 @@
[<link rel='prefetch' href='https://web-platform.test:8443/...'>]
expected: TIMEOUT
[Browser supports prefetch.]
expected: FAIL

View file

@ -24,9 +24,6 @@
[<link rel='preload' as='track' href='https://web-platform.test:8443/...'>]
expected: TIMEOUT
[Browser supports preload.]
expected: FAIL
[<link rel='preload' as='fetch' href='https://www.not-web-platform.test:8443/...'>]
expected: TIMEOUT

View file

@ -36,3 +36,12 @@
[Http upgrade fetch() api]
expected: NOTRUN
[Http upgrade preload]
expected: TIMEOUT
[Http upgrade stylesheet]
expected: NOTRUN
[Http upgrade track]
expected: NOTRUN

View file

@ -9,3 +9,12 @@
[Https downgrade embed]
expected: TIMEOUT
[Https downgrade preload]
expected: TIMEOUT
[Https downgrade stylesheet]
expected: NOTRUN
[Https downgrade track]
expected: NOTRUN

View file

@ -2550,9 +2550,6 @@
[HTMLMeterElement interface: attribute optimum]
expected: FAIL
[HTMLAreaElement interface: document.createElement("area") must inherit property "rel" with the proper type]
expected: FAIL
[HTMLInputElement interface: createInput("password") must inherit property "useMap" with the proper type]
expected: FAIL
@ -2646,9 +2643,6 @@
[HTMLFrameElement interface: attribute frameBorder]
expected: FAIL
[HTMLAreaElement interface: attribute rel]
expected: FAIL
[HTMLImageElement interface: new Image() must inherit property "decode()" with the proper type]
expected: FAIL

View file

@ -1,4 +0,0 @@
[link-rel-manifest.html]
[link element supports a rel value of "manifest".]
expected: FAIL

View file

@ -1,5 +0,0 @@
[link-rellist.html]
type: testharness
[link.relList: non-string contains]
expected: FAIL

View file

@ -1,7 +1,4 @@
[sandbox-ascii-case-insensitive.html]
[iframe 'sandbox' ASCII case insensitive, allow-same-orİgin]
expected: FAIL
[iframe 'sandbox' ASCII case insensitive, allow-ſcripts]
expected: FAIL

View file

@ -1,16 +0,0 @@
[rellist-feature-detection.html]
[Make sure that relList based feature detection is working]
expected: FAIL
[Make sure that relList based feature detection is working for <a>]
expected: FAIL
[Make sure that relList based feature detection is working for <form>]
expected: FAIL
[Make sure that relList based feature detection is working for <area>]
expected: FAIL
[Make sure that relList based feature detection is working for <link>]
expected: FAIL