mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implemented get element target and get element noopener algorithms
and refactored into functions.
This commit is contained in:
parent
8d9615fa41
commit
2d5c30d042
11 changed files with 90 additions and 62 deletions
|
@ -8,6 +8,9 @@
|
|||
[[data-expected-height\] 3]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 4]
|
||||
[[data-expected-height\] 1]
|
||||
expected: FAIL
|
||||
|
||||
[[data-expected-height\] 2]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -11,6 +11,3 @@
|
|||
[X-Content-Type-Options%3A%20nosniff%2C%2C%40%23%24%23%25%25%26%5E%26%5E*()()11!]
|
||||
expected: FAIL
|
||||
|
||||
[X-Content-Type-Options%3A%20%2Cnosniff]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
[opener-closed.html]
|
||||
expected: TIMEOUT
|
||||
[An auxiliary browsing context should report `null` for `window.opener` when that browsing context is discarded]
|
||||
expected: TIMEOUT
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[choose-_blank-003.html]
|
||||
[Context created by link targeting "_blank" should retain opener reference]
|
||||
expected: FAIL
|
|
@ -2,21 +2,12 @@
|
|||
[<form rel="opener noopener"> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noopener noreferrer"> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel=""> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noreferrer opener"> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noopener"> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noreferrer"> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="opener"> with <button formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,13 +1,4 @@
|
|||
[rel-form-target.html]
|
||||
[<form rel="noopener noreferrer"> with <form target>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noreferrer opener"> with <form target>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noreferrer"> with <form target>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="opener noopener"> with <form target>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -8,15 +8,6 @@
|
|||
[<form rel=""> with <input formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noreferrer opener"> with <input formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noopener noreferrer"> with <input formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noreferrer"> with <input formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
[<form rel="noopener"> with <input formtarget>]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -3,15 +3,9 @@
|
|||
[Check that targeting of rel=noopener with a given name ignores an existing window with that name]
|
||||
expected: NOTRUN
|
||||
|
||||
[Check that rel=noopener with target=_parent does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
[Check that targeting of rel=noopener with a given name reuses an existing window with that name]
|
||||
expected: FAIL
|
||||
|
||||
[Check that rel=noopener with target=_top does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
[Check that rel=noopener with target=_self does a normal load]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
[Area element with target=_blank with rel=opener]
|
||||
expected: TIMEOUT
|
||||
|
||||
[Anchor element with target=_blank with implicit rel=noopener]
|
||||
expected: FAIL
|
||||
|
||||
[Area element with target=_blank with implicit rel=noopener]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue