mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
282 lines
21 KiB
Plaintext
282 lines
21 KiB
Plaintext
Harness status: OK
|
||
|
||
Found 267 tests
|
||
|
||
267 Pass
|
||
Pass Loading data…
|
||
Pass URL: Setting <a://example.net>.protocol = '' The empty string is not a valid scheme. Setter leaves the URL unchanged.
|
||
Pass URL: Setting <a://example.net>.protocol = 'b'
|
||
Pass URL: Setting <javascript:alert(1)>.protocol = 'defuse'
|
||
Pass URL: Setting <a://example.net>.protocol = 'B' Upper-case ASCII is lower-cased
|
||
Pass URL: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected
|
||
Pass URL: Setting <a://example.net>.protocol = '0b' No leading digit
|
||
Pass URL: Setting <a://example.net>.protocol = '+b' No leading punctuation
|
||
Pass URL: Setting <a://example.net>.protocol = 'bC0+-.'
|
||
Pass URL: Setting <a://example.net>.protocol = 'b,c' Only some punctuation is acceptable
|
||
Pass URL: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected
|
||
Pass URL: Setting <http://test@example.net>.protocol = 'file' Can’t switch from URL containing username/password/port to file
|
||
Pass URL: Setting <https://example.net:1234>.protocol = 'file'
|
||
Pass URL: Setting <wss://x:x@example.net:1234>.protocol = 'file'
|
||
Pass URL: Setting <file://localhost/>.protocol = 'http' Can’t switch from file URL with no host
|
||
Pass URL: Setting <file:///test>.protocol = 'https'
|
||
Pass URL: Setting <file:>.protocol = 'wss'
|
||
Pass URL: Setting <http://example.net>.protocol = 'b' Can’t switch from special scheme to non-special
|
||
Pass URL: Setting <file://hi/path>.protocol = 's'
|
||
Pass URL: Setting <https://example.net>.protocol = 's'
|
||
Pass URL: Setting <ftp://example.net>.protocol = 'test'
|
||
Pass URL: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesn’t have a host, but URL in a special scheme must.
|
||
Pass URL: Setting <ssh://me@example.net>.protocol = 'http' Can’t switch from non-special scheme to special
|
||
Pass URL: Setting <ssh://me@example.net>.protocol = 'https'
|
||
Pass URL: Setting <ssh://me@example.net>.protocol = 'file'
|
||
Pass URL: Setting <ssh://example.net>.protocol = 'file'
|
||
Pass URL: Setting <nonsense:///test>.protocol = 'https'
|
||
Pass URL: Setting <http://example.net>.protocol = 'https:foo : bar' Stuff after the first ':' is ignored
|
||
Pass URL: Setting <data:text/html,<p>Test>.protocol = 'view-source+data:foo : bar' Stuff after the first ':' is ignored
|
||
Pass URL: Setting <http://foo.com:443/>.protocol = 'https' Port is set to null if it is the default for new scheme.
|
||
Pass URL: Setting <http://test/>.protocol = 'h
|
||
tt ps' Tab and newline are stripped
|
||
Pass URL: Setting <http://test/>.protocol = 'https
|
||
'
|
||
Pass URL: Setting <http://test/>.protocol = 'https |