diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/conformance-checkers/html/elements/script/src-isvalid.html | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/conformance-checkers/html/elements/script/src-isvalid.html')
-rw-r--r-- | testing/web-platform/tests/conformance-checkers/html/elements/script/src-isvalid.html | 91 |
1 files changed, 91 insertions, 0 deletions
diff --git a/testing/web-platform/tests/conformance-checkers/html/elements/script/src-isvalid.html b/testing/web-platform/tests/conformance-checkers/html/elements/script/src-isvalid.html new file mode 100644 index 0000000000..5585b74431 --- /dev/null +++ b/testing/web-platform/tests/conformance-checkers/html/elements/script/src-isvalid.html @@ -0,0 +1,91 @@ +<!DOCTYPE html> +<meta charset=utf-8> +<title>valid src</title> +<script src="a:foo.com"></script><!-- scheme-private --> +<script src="foo:/"></script><!-- scheme-private-slash --> +<script src="foo://"></script><!-- scheme-private-slash-slash --> +<script src="foo:/bar.com/"></script><!-- scheme-private-path --> +<script src="foo://///////"></script><!-- scheme-private-path-leading-slashes-only --> +<script src="foo://///////bar.com/"></script><!-- scheme-private-path-leading-slashes-chars --> +<script src="foo:////://///"></script><!-- scheme-private-path-leading-slashes-colon-slashes --> +<script src="c:/foo"></script><!-- scheme-private-single-letter --> +<script src="madeupscheme:/example.com/"></script><!-- scheme-private-single-slash --> +<script src="file:/example.com/"></script><!-- scheme-file-single-slash --> +<script src="ftps:/example.com/"></script><!-- scheme-ftps-single-slash --> +<script src="gopher:/example.com/"></script><!-- scheme-gopher-single-slash --> +<script src="ws:/example.com/"></script><!-- scheme-ws-single-slash --> +<script src="wss:/example.com/"></script><!-- scheme-wss-single-slash --> +<script src="javascript:/example.com/"></script><!-- scheme-javascript-single-slash --> +<script src="mailto:/example.com/"></script><!-- scheme-mailto-single-slash --> +<script src="madeupscheme:example.com/"></script><!-- scheme-private-no-slash --> +<script src="ftps:example.com/"></script><!-- scheme-ftps-no-slash --> +<script src="gopher:example.com/"></script><!-- scheme-gopher-no-slash --> +<script src="wss:example.com/"></script><!-- scheme-wss-no-slash --> +<script src="mailto:example.com/"></script><!-- scheme-mailto-no-slash --> +<script src="data:text/plain,foo"></script><!-- scheme-data-no-slash --> +<script src="http://user:pass@foo:21/bar;par?b#c"></script><!-- userinfo --> +<script src="http://[2001::1]"></script><!-- host-ipv6 --> +<script src="http://[2001::1]:80"></script><!-- host-ipv6-port --> +<script src="http://f:/c"></script><!-- port-none-but-colon --> +<script src="http://f:0/c"></script><!-- port-0 --> +<script src="http://f:00000000000000/c"></script><!-- port-00000000000000 --> +<script src="http://f:00000000000000000000080/c"></script><!-- port-00000000000000000000080 --> +<script src="http://a:b@c:29/d"></script><!-- userinfo-host-port-path --> +<script src="http://foo.com:b@d/"></script><!-- userinfo-username-non-alpha --> +<script src="http://foo/abcd?efgh?ijkl"></script><!-- query-contains-question-mark --> +<script src="http://foo/abcd#foo?bar"></script><!-- fragment-contains-question-mark --> +<script src="http://example.com/foo/%2e"></script><!-- path-percent-encoded-dot --> +<script src="http://example.com/%20foo"></script><!-- path-percent-encoded-space --> +<script src="http://example.com/©zbar"></script><!-- path-non-ascii --> +<script src="http://example.com/foo%41%7a"></script><!-- path-percent-encoded-multiple --> +<script src="http://example.com/foo%91"></script><!-- path-percent-encoded-u0091 --> +<script src="http://example.com/foo%00"></script><!-- path-percent-encoded-u0000 --> +<script src="http://example.com/%3A%3a%3C%3c"></script><!-- path-percent-encoded-mixed-case --> +<script src="http://example.com/你好你好"></script><!-- path-unicode-han --> +<script src="http://example.com//foo"></script><!-- path-uFEFF --> +<script src="http://example.com//foo//bar"></script><!-- path-u202E-u202D --> +<script src="http://💩"></script><!-- host-is-pile-of-poo --> +<script src="http💩//:foo"></script><!-- path-contains-pile-of-poo --> +<script src="http://example.com/foo?💩"></script><!-- query-contains-pile-of-poo --> +<script src="http://example.com/foo#💩"></script><!-- fragment-contains-pile-of-poo --> +<script src="http://192.0x00A80001"></script><!-- host-192.0x00A80001 --> +<script src="http://%25DOMAIN:foobar@foodomain.com"></script><!-- userinfo-username-contains-percent-encoded --> +<script src="http://@www.example.com"></script><!-- userinfo-empty --> +<script src="http://:b@www.example.com"></script><!-- userinfo-user-empty --> +<script src="http://a:@www.example.com"></script><!-- userinfo-password-empty --> +<script src="http://GOOgoo.com"></script><!-- host-exotic-whitespace --> +<script src="http://www.foo。bar.com"></script><!-- host-exotic-dot --> +<script src="http://Go.com"></script><!-- host-fullwidth --> +<script src="http://你好你好"></script><!-- host-idn-unicode-han --> +<script src="http://192.168.0.257/"></script><!-- host-IP-address-broken --> +<script src="//foo/bar"></script><!-- scheme-schemeless-relative --> +<script src="/"></script><!-- path-slash-only-relative --> +<script src="/a/b/c"></script><!-- path-simple-relative --> +<script src="/a%2fc"></script><!-- path-percent-encoded-slash-relative --> +<script src="/a/%2f/c"></script><!-- path-percent-encoded-slash-plus-slashes-relative --> +<script src="?"></script><!-- query-empty-no-path-relative --> +<script src="#"></script><!-- fragment-empty-hash-only-no-path-relative --> +<script src="#/"></script><!-- fragment-slash-relative --> +<script src="#;?"></script><!-- fragment-semicolon-question-mark-relative --> +<script src="#β"></script><!-- fragment-non-ascii-relative --> +<script src="foo.com"></script><!-- scheme-none-relative --> +<script src=":"></script><!-- path-colon-relative --> +<script src=":a"></script><!-- path-leading-colon-letter-relative --> +<script src=":foo.com"></script><!-- path-leading-colon-chars-relative --> +<script src=":/"></script><!-- path-leading-colon-slash-relative --> +<script src=":#"></script><!-- path-leading-colon-hash-relative --> +<script src=":23"></script><!-- path-leading-colon-number-relative --> +<script src="/:23"></script><!-- path-slash-colon-number-relative --> +<script src="::"></script><!-- path-leading-colon-colon-relative --> +<script src="::23"></script><!-- path-colon-colon-number-relative --> +<script src="💩http://foo"></script><!-- path-starts-with-pile-of-poo --> +<script src="/💩"></script><!-- path-slash-pile-of-poo --> +<script src="File://foo/bar.html"></script><!-- scheme-file-uppercase --> +<script src="file://C|/foo/bar"></script><!-- scheme-file-slash-slash-c-bar --> +<script src="file://server/foo/bar"></script><!-- scheme-file-host-included --> +<script src="file:///foo/bar.txt"></script><!-- scheme-file-host-empty --> +<script src="file:"></script><!-- scheme-file-scheme-only --> +<script src="file:/"></script><!-- scheme-file-slash-only --> +<script src="file://"></script><!-- scheme-file-slash-slash-only --> +<script src="file:///"></script><!-- scheme-file-slash-slash-slash-only --> +<script src="file:test"></script><!-- scheme-file-no-slash --> |