blob: 190eec7e8af4adecfcfe95646383f2a28a8ec127 [file] [log] [blame]
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid src</title>
<video><track src="file:///"></video><!-- scheme-file-slash-slash-slash-only -->
<video><track src="http://a:@www.example.com"></video><!-- userinfo-password-empty -->
<video><track src="foo://///////"></video><!-- scheme-private-path-leading-slashes-only -->
<video><track src="file://abc|/foo/bar"></video><!-- scheme-file-slash-slash-abc-bar -->
<video><track src="/a/b/c"></video><!-- path-simple-relative -->
<video><track src="http://example.com/你好你好"></video><!-- path-unicode-han -->
<video><track src="/a/%2f/c"></video><!-- path-percent-encoded-slash-plus-slashes-relative -->
<video><track src="http://f:/c"></video><!-- port-none-but-colon -->
<video><track src="http://example.com/foo%41%7a"></video><!-- path-percent-encoded-multiple -->
<video><track src="http://192.168.0.257/"></video><!-- host-IP-address-broken -->
<video><track src="madeupscheme:example.com/"></video><!-- scheme-private-no-slash -->
<video><track src="?"></video><!-- query-empty-no-path-relative -->
<video><track src="http://example.com/%20foo"></video><!-- path-percent-encoded-space -->
<video><track src="mailto:/example.com/"></video><!-- scheme-mailto-single-slash -->
<video><track src="::"></video><!-- path-leading-colon-colon-relative -->
<video><track src="http://example.com/%3A%3a%3C%3c"></video><!-- path-percent-encoded-mixed-case -->
<video><track src="http://user:pass@foo:21/bar;par?b#c"></video><!-- userinfo -->
<video><track src="ws:/example.com/"></video><!-- scheme-ws-single-slash -->
<video><track src="foo://"></video><!-- scheme-private-slash-slash -->
<video><track src="#"></video><!-- fragment-empty-hash-only-no-path-relative -->
<video><track src="http://f:00000000000000/c"></video><!-- port-00000000000000 -->
<video><track src="foo:////://///"></video><!-- scheme-private-path-leading-slashes-colon-slashes -->
<video><track src=":23"></video><!-- path-leading-colon-number-relative -->
<video><track src="foo:/"></video><!-- scheme-private-slash -->
<video><track src="http://💩"></video><!-- host-is-pile-of-poo -->
<video><track src="file:test"></video><!-- scheme-file-no-slash -->
<video><track src="file://C|/foo/bar"></video><!-- scheme-file-slash-slash-c-bar -->
<video><track src="#/"></video><!-- fragment-slash-relative -->
<video><track src="http://192.0x00A80001"></video><!-- host-192.0x00A80001 -->
<video><track src="foo.com"></video><!-- scheme-none-relative -->
<video><track src="http💩//:foo"></video><!-- path-contains-pile-of-poo -->
<video><track src="File://foo/bar.html"></video><!-- scheme-file-uppercase -->
<video><track src=":/"></video><!-- path-leading-colon-slash-relative -->
<video><track src="http://www.foo。bar.com"></video><!-- host-exotic-dot -->
<video><track src="http://GOO​⁠goo.com"></video><!-- host-exotic-whitespace -->
<video><track src="file:///foo/bar.txt"></video><!-- scheme-file-host-empty -->
<video><track src="javascript:/example.com/"></video><!-- scheme-javascript-single-slash -->
<video><track src="gopher:/example.com/"></video><!-- scheme-gopher-single-slash -->
<video><track src="ftps:example.com/"></video><!-- scheme-ftps-no-slash -->
<video><track src="file://server/foo/bar"></video><!-- scheme-file-host-included -->
<video><track src="http://example.com/foo%00"></video><!-- path-percent-encoded-u0000 -->
<video><track src="a:foo.com"></video><!-- scheme-private -->
<video><track src=":"></video><!-- path-colon-relative -->
<video><track src="http://:b@www.example.com"></video><!-- userinfo-user-empty -->
<video><track src="file:/"></video><!-- scheme-file-slash-only -->
<video><track src="wss:example.com/"></video><!-- scheme-wss-no-slash -->
<video><track src="::23"></video><!-- path-colon-colon-number-relative -->
<video><track src="/a%2fc"></video><!-- path-percent-encoded-slash-relative -->
<video><track src="http://a:b@c:29/d"></video><!-- userinfo-host-port-path -->
<video><track src="gopher:example.com/"></video><!-- scheme-gopher-no-slash -->
<video><track src="madeupscheme:/example.com/"></video><!-- scheme-private-single-slash -->
<video><track src="mailto:example.com/"></video><!-- scheme-mailto-no-slash -->
<video><track src="http://%25DOMAIN:foobar@foodomain.com"></video><!-- userinfo-username-contains-percent-encoded -->
<video><track src="/:23"></video><!-- path-slash-colon-number-relative -->
<video><track src="foo://///////bar.com/"></video><!-- scheme-private-path-leading-slashes-chars -->
<video><track src="http://[2001::1]:80"></video><!-- host-ipv6-port -->
<video><track src="data:text/plain,foo"></video><!-- scheme-data-no-slash -->
<video><track src="http://example.com/foo/%2e"></video><!-- path-percent-encoded-dot -->
<video><track src="file:/example.com/"></video><!-- scheme-file-single-slash -->
<video><track src="http://example.com/©zbar"></video><!-- path-non-ascii -->
<video><track src="http://example.com//foo"></video><!-- path-uFEFF -->
<video><track src="wss:/example.com/"></video><!-- scheme-wss-single-slash -->
<video><track src="http://foo/abcd#foo?bar"></video><!-- fragment-contains-question-mark -->
<video><track src=":#"></video><!-- path-leading-colon-hash-relative -->
<video><track src="http://example.com/foo%91"></video><!-- path-percent-encoded-u0091 -->
<video><track src="c:/foo"></video><!-- scheme-private-single-letter -->
<video><track src=":foo.com"></video><!-- path-leading-colon-chars-relative -->
<video><track src="http://你好你好"></video><!-- host-idn-unicode-han -->
<video><track src="http://example.com/foo#💩"></video><!-- fragment-contains-pile-of-poo -->
<video><track src="file:"></video><!-- scheme-file-scheme-only -->
<video><track src="#β"></video><!-- fragment-non-ascii-relative -->
<video><track src="foo:/bar.com/"></video><!-- scheme-private-path -->
<video><track src="http://f:0/c"></video><!-- port-0 -->
<video><track src="#;?"></video><!-- fragment-semicolon-question-mark-relative -->
<video><track src="http://Go.com"></video><!-- host-fullwidth -->
<video><track src="http://@www.example.com"></video><!-- userinfo-empty -->
<video><track src="http://example.com/‮/foo/‭/bar"></video><!-- path-u202E-u202D -->
<video><track src="http://[2001::1]"></video><!-- host-ipv6 -->
<video><track src="💩http://foo"></video><!-- path-starts-with-pile-of-poo -->
<video><track src="http://foo/abcd?efgh?ijkl"></video><!-- query-contains-question-mark -->
<video><track src="//foo/bar"></video><!-- scheme-schemeless-relative -->
<video><track src="ftps:/example.com/"></video><!-- scheme-ftps-single-slash -->
<video><track src="http://foo.com:b@d/"></video><!-- userinfo-username-non-alpha -->
<video><track src=":a"></video><!-- path-leading-colon-letter-relative -->
<video><track src="/"></video><!-- path-slash-only-relative -->
<video><track src="http://example.com/foo?💩"></video><!-- query-contains-pile-of-poo -->
<video><track src="http://f:00000000000000000000080/c"></video><!-- port-00000000000000000000080 -->
<video><track src="file://"></video><!-- scheme-file-slash-slash-only -->