Add ReferrerPolicy IDL attribute to iframes (#34526)

Signed-off-by: Shane Handley <shanehandley@fastmail.com>
This commit is contained in:
shanehandley 2024-12-09 02:28:49 +11:00 committed by GitHub
parent b3977e7f6c
commit 3363e1a261
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 29 additions and 206 deletions

View file

@ -6415,9 +6415,6 @@
[HTMLIFrameElement interface: attribute allow]
expected: FAIL
[HTMLIFrameElement interface: attribute referrerPolicy]
expected: FAIL
[HTMLIFrameElement interface: attribute loading]
expected: FAIL
@ -6445,9 +6442,6 @@
[HTMLIFrameElement interface: document.createElement("iframe") must inherit property "allow" with the proper type]
expected: FAIL
[HTMLIFrameElement interface: document.createElement("iframe") must inherit property "referrerPolicy" with the proper type]
expected: FAIL
[HTMLIFrameElement interface: document.createElement("iframe") must inherit property "loading" with the proper type]
expected: FAIL

View file

@ -1,37 +0,0 @@
[iframe-tag.http.html]
[Referrer Policy: Expects omitted for iframe-tag to same-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-http origin and no-redirect redirection from http context.]
expected: FAIL

View file

@ -1,30 +0,0 @@
[iframe-tag.http.html]
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and swap-origin redirection from http context.]
expected: FAIL

View file

@ -1,36 +0,0 @@
[iframe-tag.http.html]
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and swap-origin redirection from http context.]
expected: FAIL

View file

@ -1,24 +0,0 @@
[iframe-tag.http.html]
[Referrer Policy: Expects omitted for iframe-tag to cross-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to cross-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects omitted for iframe-tag to same-https origin and swap-origin redirection from http context.]
expected: FAIL

View file

@ -1,30 +0,0 @@
[iframe-tag.http.html]
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and swap-origin redirection from http context.]
expected: FAIL

View file

@ -1,36 +0,0 @@
[iframe-tag.http.html]
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to cross-https origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-http origin and swap-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and keep-origin redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and no-redirect redirection from http context.]
expected: FAIL
[Referrer Policy: Expects origin for iframe-tag to same-https origin and swap-origin redirection from http context.]
expected: FAIL

View file

@ -1,3 +0,0 @@
[iframe-src-change.html]
[Checks that referrerpolicy is respected when an iframe's src changes.]
expected: FAIL