mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Implement referrerpolicy attribute on remaining elements (#34736)
Fixes #11861 Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
parent
09408ae10b
commit
41f27ae80b
9 changed files with 25 additions and 413 deletions
|
@ -28,9 +28,3 @@
|
|||
|
||||
[ping on HTMLAreaElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
||||
[referrerPolicy on HTMLAreaElement must enqueue an attributeChanged reaction when adding a new attribute]
|
||||
expected: FAIL
|
||||
|
||||
[referrerPolicy on HTMLAreaElement must enqueue an attributeChanged reaction when replacing an existing attribute]
|
||||
expected: FAIL
|
||||
|
|
|
@ -6307,9 +6307,6 @@
|
|||
[HTMLAnchorElement interface: attribute type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAnchorElement interface: attribute referrerPolicy]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAnchorElement interface: attribute charset]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6325,9 +6322,6 @@
|
|||
[HTMLAnchorElement interface: document.createElement("a") must inherit property "type" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAnchorElement interface: document.createElement("a") must inherit property "referrerPolicy" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAnchorElement interface: document.createElement("a") must inherit property "charset" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6694,9 +6688,6 @@
|
|||
[HTMLAreaElement interface: attribute ping]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute referrerPolicy]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: attribute noHref]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -6751,9 +6742,6 @@
|
|||
[HTMLAreaElement interface: document.createElement("area") must inherit property "ping" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "referrerPolicy" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLAreaElement interface: document.createElement("area") must inherit property "noHref" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
|
384
tests/wpt/meta/html/dom/reflection-text.html.ini
vendored
384
tests/wpt/meta/html/dom/reflection-text.html.ini
vendored
|
@ -647,390 +647,6 @@
|
|||
[a.type: IDL set to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL get with DOM attribute unset]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to ""]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to 7]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to true]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to false]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to null]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "no-referrer"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xno-referrer"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "no-referrer\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "o-referrer"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "NO-REFERRER"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "no-referrer-when-downgrade"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xno-referrer-when-downgrade"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "no-referrer-when-downgrade\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "o-referrer-when-downgrade"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "NO-REFERRER-WHEN-DOWNGRADE"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "same-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xsame-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "same-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "ame-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "SAME-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "ſame-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xorigin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "rigin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "strict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xstrict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "strict-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "trict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "STRICT-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "ſtrict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xorigin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "origin-when-cross-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "rigin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "ORIGIN-WHEN-CROSS-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "origin-when-croſſ-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xstrict-origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "strict-origin-when-cross-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "trict-origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "ſtrict-origin-when-croſſ-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "unsafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "xunsafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "unsafe-url\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "nsafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "UNSAFE-URL"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: setAttribute() to "unſafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to ""]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to " \\0\\x01\\x02\\x03\\x04\\x05\\x06\\x07 \\b\\t\\n\\v\\f\\r\\x0e\\x0f \\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17 \\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f foo "]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to undefined]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to 7]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to 1.5]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "5%"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "+100"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to ".5"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to true]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to false]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to object "[object Object\]"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to NaN]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to -Infinity]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to null]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to object "test-toString"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to object "test-valueOf"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "no-referrer"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xno-referrer"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "no-referrer\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "o-referrer"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "NO-REFERRER"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "no-referrer-when-downgrade"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xno-referrer-when-downgrade"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "no-referrer-when-downgrade\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "o-referrer-when-downgrade"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "NO-REFERRER-WHEN-DOWNGRADE"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "same-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xsame-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "same-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "ame-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "SAME-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "ſame-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xorigin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "rigin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "strict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xstrict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "strict-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "trict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "STRICT-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "ſtrict-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xorigin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "origin-when-cross-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "rigin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "ORIGIN-WHEN-CROSS-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "origin-when-croſſ-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "strict-origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xstrict-origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "strict-origin-when-cross-origin\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "trict-origin-when-cross-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "STRICT-ORIGIN-WHEN-CROSS-ORIGIN"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "ſtrict-origin-when-croſſ-origin"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "unsafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "xunsafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "unsafe-url\\0"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "nsafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "UNSAFE-URL"]
|
||||
expected: FAIL
|
||||
|
||||
[a.referrerPolicy: IDL set to "unſafe-url"]
|
||||
expected: FAIL
|
||||
|
||||
[a.charset: typeof IDL attribute]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[attr-referrer-invalid-value.html]
|
||||
[Invalid referrerpolicy values not reflected]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue