mirror of
https://github.com/servo/servo.git
synced 2025-09-03 11:38:22 +01:00
Add a tokenizer for features in window.open()
This commit is contained in:
parent
7bdfad92a5
commit
f261799e64
3 changed files with 106 additions and 48 deletions
|
@ -1,19 +0,0 @@
|
|||
[open-features-tokenization-noopener.html]
|
||||
[feature `name` should be converted to ASCII lowercase]
|
||||
expected: FAIL
|
||||
|
||||
[invalid feature names should not tokenize as "noopener"]
|
||||
expected: FAIL
|
||||
|
||||
[Integer value of 0 should not activate the feature]
|
||||
expected: FAIL
|
||||
|
||||
[Invalid feature names should not tokenize as "noopener"]
|
||||
expected: FAIL
|
||||
|
||||
[Integer value of 0 should not activate "noopener"]
|
||||
expected: FAIL
|
||||
|
||||
[Feature "noopener" should be converted to ASCII lowercase]
|
||||
expected: FAIL
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
[open-features-tokenization-noreferrer.html]
|
||||
[Tokenizing "noreferrer" should ignore window feature separators except "," after initial "=" and before value]
|
||||
expected: FAIL
|
||||
|
||||
[Tokenizing "noreferrer" should read characters until first window feature separator as `value`]
|
||||
expected: FAIL
|
||||
|
||||
[After "noreferrer", tokenization should skip window features separators that are not "=" or ","]
|
||||
expected: FAIL
|
||||
|
||||
[Integer values other than 0 should activate the feature]
|
||||
expected: FAIL
|
||||
|
||||
[Tokenization of "noreferrer" should skip window features separators before feature]
|
||||
expected: FAIL
|
||||
|
||||
[Feature "noreferrer" should be converted to ASCII lowercase]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue