script: implement HTMLHyperlinkElementUtils for HTMLAreaElement (#35482)

This makes some common functionality in HTMLAreaElement and
HTMLAnchorElement shared code.

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2025-02-16 20:54:31 +11:00 committed by GitHub
parent 6d6070242b
commit 5ab3641a8e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 701 additions and 1924 deletions

View file

@ -1,24 +0,0 @@
[area-stringifier.html]
[HTMLAreaElement stringifier 1]
expected: FAIL
[HTMLAreaElement stringifier 2]
expected: FAIL
[HTMLAreaElement stringifier 4]
expected: FAIL
[HTMLAreaElement stringifier 5]
expected: FAIL
[HTMLAreaElement stringifier 6]
expected: FAIL
[HTMLAreaElement stringifier 7]
expected: FAIL
[HTMLAreaElement stringifier 9]
expected: FAIL
[HTMLAreaElement stringifier 10]
expected: FAIL

View file

@ -1,57 +0,0 @@
[non-parsable-url-getter-setter.window.html]
[<area href="http://test:test/">.origin getter]
expected: FAIL
[<area href="http://test:test/">.protocol getter]
expected: FAIL
[<area href="http://test:test/">.protocol setter]
expected: FAIL
[<area href="http://test:test/">.username getter]
expected: FAIL
[<area href="http://test:test/">.username setter]
expected: FAIL
[<area href="http://test:test/">.password getter]
expected: FAIL
[<area href="http://test:test/">.password setter]
expected: FAIL
[<area href="http://test:test/">.host getter]
expected: FAIL
[<area href="http://test:test/">.host setter]
expected: FAIL
[<area href="http://test:test/">.hostname getter]
expected: FAIL
[<area href="http://test:test/">.hostname setter]
expected: FAIL
[<area href="http://test:test/">.port getter]
expected: FAIL
[<area href="http://test:test/">.port setter]
expected: FAIL
[<area href="http://test:test/">.pathname getter]
expected: FAIL
[<area href="http://test:test/">.pathname setter]
expected: FAIL
[<area href="http://test:test/">.search getter]
expected: FAIL
[<area href="http://test:test/">.search setter]
expected: FAIL
[<area href="http://test:test/">.hash getter]
expected: FAIL
[<area href="http://test:test/">.hash setter]
expected: FAIL

View file

@ -1,57 +0,0 @@
[non-special-opaque-path-url-getter-setter.window.html]
[<area href="non-special:opaque">.origin getter]
expected: FAIL
[<area href="non-special:opaque">.protocol getter]
expected: FAIL
[<area href="non-special:opaque">.protocol setter]
expected: FAIL
[<area href="non-special:opaque">.username getter]
expected: FAIL
[<area href="non-special:opaque">.username setter]
expected: FAIL
[<area href="non-special:opaque">.password getter]
expected: FAIL
[<area href="non-special:opaque">.password setter]
expected: FAIL
[<area href="non-special:opaque">.host getter]
expected: FAIL
[<area href="non-special:opaque">.host setter]
expected: FAIL
[<area href="non-special:opaque">.hostname getter]
expected: FAIL
[<area href="non-special:opaque">.hostname setter]
expected: FAIL
[<area href="non-special:opaque">.port getter]
expected: FAIL
[<area href="non-special:opaque">.port setter]
expected: FAIL
[<area href="non-special:opaque">.pathname getter]
expected: FAIL
[<area href="non-special:opaque">.pathname setter]
expected: FAIL
[<area href="non-special:opaque">.search getter]
expected: FAIL
[<area href="non-special:opaque">.search setter]
expected: FAIL
[<area href="non-special:opaque">.hash getter]
expected: FAIL
[<area href="non-special:opaque">.hash setter]
expected: FAIL

View file

@ -1,45 +0,0 @@
[non-special-url-getter-setter.window.html]
[<area href="non-special://test:9001/">.origin getter]
expected: FAIL
[<area href="non-special://test:9001/">.protocol getter]
expected: FAIL
[<area href="non-special://test:9001/">.protocol setter]
expected: FAIL
[<area href="non-special://test:9001/">.username getter]
expected: FAIL
[<area href="non-special://test:9001/">.password getter]
expected: FAIL
[<area href="non-special://test:9001/">.host getter]
expected: FAIL
[<area href="non-special://test:9001/">.host setter]
expected: FAIL
[<area href="non-special://test:9001/">.hostname getter]
expected: FAIL
[<area href="non-special://test:9001/">.port getter]
expected: FAIL
[<area href="non-special://test:9001/">.pathname getter]
expected: FAIL
[<area href="non-special://test:9001/">.pathname setter]
expected: FAIL
[<area href="non-special://test:9001/">.search getter]
expected: FAIL
[<area href="non-special://test:9001/">.search setter]
expected: FAIL
[<area href="non-special://test:9001/">.hash getter]
expected: FAIL
[<area href="non-special://test:9001/">.hash setter]
expected: FAIL