From 061ac1f8c74d71bb0d08b3c81d0e14adedb5bced Mon Sep 17 00:00:00 2001 From: Shannon Booth Date: Mon, 18 Nov 2024 06:56:30 +1300 Subject: [PATCH] Tests: Import WPT test for DOMTokenList coverage on attributes --- .../DOMTokenList-coverage-for-attributes.txt | 186 ++++++++++++++++++ .../DOMTokenList-coverage-for-attributes.html | 55 ++++++ 2 files changed, 241 insertions(+) create mode 100644 Tests/LibWeb/Text/expected/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.txt create mode 100644 Tests/LibWeb/Text/input/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.html diff --git a/Tests/LibWeb/Text/expected/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.txt b/Tests/LibWeb/Text/expected/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.txt new file mode 100644 index 00000000000..e71b9bb75c0 --- /dev/null +++ b/Tests/LibWeb/Text/expected/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.txt @@ -0,0 +1,186 @@ +Summary + +Harness status: OK + +Rerun + +Found 175 tests + +173 Pass +2 Fail +Details +Result Test Name MessagePass a.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass area.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass link.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass iframe.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass output.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass td.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass th.classList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass a.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass area.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass link.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass iframe.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass output.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass td.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass th.classList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass a.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass area.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass link.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass iframe.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass output.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass td.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass th.classList in http://www.w3.org/1998/Math/MathML namespace should be DOMTokenList. +Pass a.classList in http://example.com/ namespace should be DOMTokenList. +Pass area.classList in http://example.com/ namespace should be DOMTokenList. +Pass link.classList in http://example.com/ namespace should be DOMTokenList. +Pass iframe.classList in http://example.com/ namespace should be DOMTokenList. +Pass output.classList in http://example.com/ namespace should be DOMTokenList. +Pass td.classList in http://example.com/ namespace should be DOMTokenList. +Pass th.classList in http://example.com/ namespace should be DOMTokenList. +Pass a.classList in null namespace should be DOMTokenList. +Pass area.classList in null namespace should be DOMTokenList. +Pass link.classList in null namespace should be DOMTokenList. +Pass iframe.classList in null namespace should be DOMTokenList. +Pass output.classList in null namespace should be DOMTokenList. +Pass td.classList in null namespace should be DOMTokenList. +Pass th.classList in null namespace should be DOMTokenList. +Pass a.relList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass area.relList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass link.relList in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass iframe.relList in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass output.relList in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass td.relList in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass th.relList in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass a.relList in http://www.w3.org/2000/svg namespace should be DOMTokenList. +Pass area.relList in http://www.w3.org/2000/svg namespace should be undefined. +Pass link.relList in http://www.w3.org/2000/svg namespace should be undefined. +Pass iframe.relList in http://www.w3.org/2000/svg namespace should be undefined. +Pass output.relList in http://www.w3.org/2000/svg namespace should be undefined. +Pass td.relList in http://www.w3.org/2000/svg namespace should be undefined. +Pass th.relList in http://www.w3.org/2000/svg namespace should be undefined. +Pass a.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass area.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass link.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass iframe.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass output.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass td.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass th.relList in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass a.relList in http://example.com/ namespace should be undefined. +Pass area.relList in http://example.com/ namespace should be undefined. +Pass link.relList in http://example.com/ namespace should be undefined. +Pass iframe.relList in http://example.com/ namespace should be undefined. +Pass output.relList in http://example.com/ namespace should be undefined. +Pass td.relList in http://example.com/ namespace should be undefined. +Pass th.relList in http://example.com/ namespace should be undefined. +Pass a.relList in null namespace should be undefined. +Pass area.relList in null namespace should be undefined. +Pass link.relList in null namespace should be undefined. +Pass iframe.relList in null namespace should be undefined. +Pass output.relList in null namespace should be undefined. +Pass td.relList in null namespace should be undefined. +Pass th.relList in null namespace should be undefined. +Pass a.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass area.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass link.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass iframe.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass output.htmlFor in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass td.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass th.htmlFor in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass a.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass area.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass link.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass iframe.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass output.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass td.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass th.htmlFor in http://www.w3.org/2000/svg namespace should be undefined. +Pass a.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass area.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass link.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass iframe.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass output.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass td.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass th.htmlFor in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass a.htmlFor in http://example.com/ namespace should be undefined. +Pass area.htmlFor in http://example.com/ namespace should be undefined. +Pass link.htmlFor in http://example.com/ namespace should be undefined. +Pass iframe.htmlFor in http://example.com/ namespace should be undefined. +Pass output.htmlFor in http://example.com/ namespace should be undefined. +Pass td.htmlFor in http://example.com/ namespace should be undefined. +Pass th.htmlFor in http://example.com/ namespace should be undefined. +Pass a.htmlFor in null namespace should be undefined. +Pass area.htmlFor in null namespace should be undefined. +Pass link.htmlFor in null namespace should be undefined. +Pass iframe.htmlFor in null namespace should be undefined. +Pass output.htmlFor in null namespace should be undefined. +Pass td.htmlFor in null namespace should be undefined. +Pass th.htmlFor in null namespace should be undefined. +Pass a.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass area.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass link.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. +Fail iframe.sandbox in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass output.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass td.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass th.sandbox in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass a.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass area.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass link.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass iframe.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass output.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass td.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass th.sandbox in http://www.w3.org/2000/svg namespace should be undefined. +Pass a.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass area.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass link.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass iframe.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass output.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass td.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass th.sandbox in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass a.sandbox in http://example.com/ namespace should be undefined. +Pass area.sandbox in http://example.com/ namespace should be undefined. +Pass link.sandbox in http://example.com/ namespace should be undefined. +Pass iframe.sandbox in http://example.com/ namespace should be undefined. +Pass output.sandbox in http://example.com/ namespace should be undefined. +Pass td.sandbox in http://example.com/ namespace should be undefined. +Pass th.sandbox in http://example.com/ namespace should be undefined. +Pass a.sandbox in null namespace should be undefined. +Pass area.sandbox in null namespace should be undefined. +Pass link.sandbox in null namespace should be undefined. +Pass iframe.sandbox in null namespace should be undefined. +Pass output.sandbox in null namespace should be undefined. +Pass td.sandbox in null namespace should be undefined. +Pass th.sandbox in null namespace should be undefined. +Pass a.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass area.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. +Fail link.sizes in http://www.w3.org/1999/xhtml namespace should be DOMTokenList. +Pass iframe.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass output.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass td.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass th.sizes in http://www.w3.org/1999/xhtml namespace should be undefined. +Pass a.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass area.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass link.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass iframe.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass output.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass td.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass th.sizes in http://www.w3.org/2000/svg namespace should be undefined. +Pass a.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass area.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass link.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass iframe.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass output.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass td.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass th.sizes in http://www.w3.org/1998/Math/MathML namespace should be undefined. +Pass a.sizes in http://example.com/ namespace should be undefined. +Pass area.sizes in http://example.com/ namespace should be undefined. +Pass link.sizes in http://example.com/ namespace should be undefined. +Pass iframe.sizes in http://example.com/ namespace should be undefined. +Pass output.sizes in http://example.com/ namespace should be undefined. +Pass td.sizes in http://example.com/ namespace should be undefined. +Pass th.sizes in http://example.com/ namespace should be undefined. +Pass a.sizes in null namespace should be undefined. +Pass area.sizes in null namespace should be undefined. +Pass link.sizes in null namespace should be undefined. +Pass iframe.sizes in null namespace should be undefined. +Pass output.sizes in null namespace should be undefined. +Pass td.sizes in null namespace should be undefined. +Pass th.sizes in null namespace should be undefined. \ No newline at end of file diff --git a/Tests/LibWeb/Text/input/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.html b/Tests/LibWeb/Text/input/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.html new file mode 100644 index 00000000000..208884ecfa7 --- /dev/null +++ b/Tests/LibWeb/Text/input/wpt-import/dom/lists/DOMTokenList-coverage-for-attributes.html @@ -0,0 +1,55 @@ + + +DOMTokenList coverage for attributes + + +
+