Home
last modified time | relevance | path

Searched refs:canonicalize (Results 1 – 25 of 61) sorted by relevance

123

/external/webkit/LayoutTests/fast/url/
Dipv6-expected.txt6 FAIL canonicalize('http:///') should be http:. Was http:/.
7 PASS canonicalize('http://[/') is 'http://[/'
8 PASS canonicalize('http://[:/') is 'http://[:/'
9 PASS canonicalize('http://]/') is 'http://]/'
10 PASS canonicalize('http://:]/') is 'http://:]/'
11 PASS canonicalize('http://[]/') is 'http://[]/'
12 PASS canonicalize('http://[:]/') is 'http://[:]/'
13 PASS canonicalize('http://2001:db8::1/') is 'http://2001:db8::1/'
14 PASS canonicalize('http://[2001:db8::1/') is 'http://[2001:db8::1/'
15 PASS canonicalize('http://2001:db8::1]/') is 'http://2001:db8::1]/'
[all …]
Drelative-expected.txt6 PASS canonicalize('http://another/') is 'http://another/'
7 PASS canonicalize('http:////another/') is 'http://another/'
8 PASS canonicalize('') is 'http://foo/bar'
9 PASS canonicalize('') is 'http://foo/bar'
10 PASS canonicalize('') is 'http://foo/bar'
11 PASS canonicalize(' another ') is 'http://foo/another'
12 PASS canonicalize(' . ') is 'http://foo/'
13 PASS canonicalize(' ') is 'http://foo/bar'
14 PASS canonicalize('http:path') is 'http://host/path'
15 PASS canonicalize('http:path') is 'http://host/a/path'
[all …]
Dipv4-expected.txt6 FAIL canonicalize('http:///') should be http:. Was http:/.
7 PASS canonicalize('http://./') is 'http://./'
8 PASS canonicalize('http://192.168.0.1/') is 'http://192.168.0.1/'
9 FAIL canonicalize('http://0300.0250.00.01/') should be http://192.168.0.1/. Was http://0300.0250.00…
10 FAIL canonicalize('http://0xC0.0Xa8.0x0.0x1/') should be http://192.168.0.1/. Was http://0xC0.0Xa8.…
11 PASS canonicalize('http://192.168.9.com/') is 'http://192.168.9.com/'
12 PASS canonicalize('http://19a.168.0.1/') is 'http://19a.168.0.1/'
13 PASS canonicalize('http://0308.0250.00.01/') is 'http://0308.0250.00.01/'
14 FAIL canonicalize('http://0xCG.0xA8.0x0.0x1/') should be http://0xcg.0xa8.0x0.0x1/. Was http://0xCG…
15 FAIL canonicalize('http://192/') should be http://0.0.0.192/. Was http://192/.
[all …]
Dstandard-url-expected.txt6 PASS canonicalize('http://www.google.com/foo?bar=baz#') is 'http://www.google.com/foo?bar=baz#'
7 FAIL canonicalize('http://www.google.com/foo?bar=baz# »') should be http://www.google.com/foo?bar=b…
8 PASS canonicalize('http://[www.google.com]/') is 'http://[www.google.com]/'
9 PASS canonicalize('http://www.google.com') is 'http://www.google.com/'
10 FAIL canonicalize('http:////////user:@google.com:99?foo') should be http://user@google.com:99/?foo.…
11 FAIL canonicalize('http://192.0x00A80001') should be http://192.168.0.1/. Was http://192.0x00A80001…
12 FAIL canonicalize('http://www/foo%2Ehtml') should be http://www/foo.html. Was http://www/foo%2Ehtml.
13 PASS canonicalize('http://user:pass@/') is 'http://user:pass@/'
14 PASS canonicalize('http://%25DOMAIN:foobar@foodomain.com/') is 'http://%25DOMAIN:foobar@foodomain.c…
15 PASS canonicalize('http:\\\\www.google.com\\foo') is 'http://www.google.com/foo'
[all …]
Dpath-expected.txt6 PASS canonicalize('http://example.com/././foo') is 'http://example.com/foo'
7 PASS canonicalize('http://example.com/./.foo') is 'http://example.com/.foo'
8 PASS canonicalize('http://example.com/foo/.') is 'http://example.com/foo/'
9 PASS canonicalize('http://example.com/foo/./') is 'http://example.com/foo/'
10 PASS canonicalize('http://example.com/foo/bar/..') is 'http://example.com/foo/'
11 PASS canonicalize('http://example.com/foo/bar/../') is 'http://example.com/foo/'
12 PASS canonicalize('http://example.com/foo/..bar') is 'http://example.com/foo/..bar'
13 PASS canonicalize('http://example.com/foo/bar/../ton') is 'http://example.com/foo/ton'
14 PASS canonicalize('http://example.com/foo/bar/../ton/../../a') is 'http://example.com/a'
15 PASS canonicalize('http://example.com/foo/../../..') is 'http://example.com/'
[all …]
Dfile-expected.txt6 FAIL canonicalize('file:c:\\foo\\bar.html') should be file:///C:/foo/bar.html. Was file:///tmp/mock…
7 FAIL canonicalize(' File:c|////foo\\bar.html') should be file:///C:////foo/bar.html. Was file:///t…
8 FAIL canonicalize('file:') should be file:///. Was file:///tmp/mock/path.
9 FAIL canonicalize('file:UNChost/path') should be file://unchost/path. Was file:///tmp/mock/UNChost/…
10 FAIL canonicalize('c:\\foo\\bar') should be file:///C:/foo/bar. Was c:/foo/bar.
11 FAIL canonicalize('C|/foo/bar') should be file:///C:/foo/bar. Was file:///tmp/mock/C|/foo/bar.
12 FAIL canonicalize('/C|\\foo\\bar') should be file:///C:/foo/bar. Was file:///C|/foo/bar.
13 FAIL canonicalize('//C|/foo/bar') should be file:///C:/foo/bar. Was file://C|/foo/bar.
14 PASS canonicalize('//server/file') is 'file://server/file'
15 PASS canonicalize('\\\\server\\file') is 'file://server/file'
[all …]
Dhost-expected.txt6 FAIL canonicalize('http://GoOgLe.CoM/') should be http://google.com/. Was http://GoOgLe.CoM/.
7 FAIL canonicalize('http://Goo%20 goo%7C|.com/') should be http://goo%20%20goo%7C%7C.com/. Was http:…
8 FAIL canonicalize('http://GOO  goo.com/') should be http://goo%20%20goo.com/. Was http://goo goo.c…
9 PASS canonicalize('http://GOO​⁠goo.com/') is 'http://googoo.com/'
10 PASS canonicalize('http://www.foo。bar.com/') is 'http://www.foo.bar.com/'
11 FAIL canonicalize('http://﷐zyx.com/') should be http://%EF%BF%BDzyx.com/. Was http:/.
12 FAIL canonicalize('http://%ef%b7%90zyx.com/') should be http://%EF%BF%BDzyx.com/. Was http://%ef%b7…
13 PASS canonicalize('http://Go.com/') is 'http://go.com/'
14 FAIL canonicalize('http://%41.com/') should be http://a.com/. Was http://%41.com/.
15 FAIL canonicalize('http://%ef%bc%85%ef%bc%94%ef%bc%91.com/') should be http://a.com/. Was http://%e…
[all …]
Dfile-http-base-expected.txt6 FAIL canonicalize('file:c:\\foo\\bar.html') should be file:///C:/foo/bar.html. Was file://c:/foo/ba…
7 FAIL canonicalize(' File:c|////foo\\bar.html') should be file:///C:////foo/bar.html. Was file://c|…
8 FAIL canonicalize('file:') should be file:///. Was file:.
9 FAIL canonicalize('file:UNChost/path') should be file://unchost/path. Was file://UNChost/path.
10 FAIL canonicalize('c:\\foo\\bar') should be file:///C:/foo/bar. Was c:/foo/bar.
11 FAIL canonicalize('C|/foo/bar') should be file:///C:/foo/bar. Was http://example.com/mock/C|/foo/ba…
12 FAIL canonicalize('/C|\\foo\\bar') should be file:///C:/foo/bar. Was http://example.com/C|/foo/bar.
13 FAIL canonicalize('//C|/foo/bar') should be file:///C:/foo/bar. Was http://C|/foo/bar.
14 FAIL canonicalize('//server/file') should be file://server/file. Was http://server/file.
15 FAIL canonicalize('\\\\server\\file') should be file://server/file. Was http://server/file.
[all …]
Drelative-win-expected.txt6 PASS canonicalize('http://host/') is 'http://host/'
7 PASS canonicalize('bar') is 'file:///C:/bar'
8 FAIL canonicalize('../../../bar.html') should be file:///C:/bar.html. Was file:///bar.html.
9 FAIL canonicalize('/../bar.html') should be file:///C:/bar.html. Was file:///bar.html.
10 FAIL canonicalize('\\\\another\\path') should be . Was http://another/path.
11 FAIL canonicalize('//c:/foo') should be file:///C:/foo. Was file://c/foo.
12 FAIL canonicalize('//localhost/c:/foo') should be file:///C:/foo. Was file:///c:/foo.
13 FAIL canonicalize('c:') should be . Was c:.
14 FAIL canonicalize('c:/foo') should be . Was c:/foo.
15 FAIL canonicalize('c:\\foo') should be . Was c:/foo.
[all …]
Dmailto-expected.txt6 PASS canonicalize('mailto:addr1') is 'mailto:addr1'
7 PASS canonicalize('mailto:addr1@foo.com') is 'mailto:addr1@foo.com'
8 PASS canonicalize('mailto:addr1 ') is 'mailto:addr1'
9 PASS canonicalize('mailto:addr1?to=jon') is 'mailto:addr1?to=jon'
10 PASS canonicalize('mailto:addr1,addr2') is 'mailto:addr1,addr2'
11 PASS canonicalize('mailto:addr1, addr2') is 'mailto:addr1, addr2'
12 PASS canonicalize('mailto:addr1%2caddr2') is 'mailto:addr1%2caddr2'
13 PASS canonicalize('mailto:��') is 'mailto:%F0%90%8C%80'
14 PASS canonicalize('mailto:addr1?') is 'mailto:addr1?'
15 PASS canonicalize('mailto:í €') == 'mailto:%EF%BF%BD' is false
Danchor-expected.txt6 PASS canonicalize('http://www.example.com/#hello, world') is 'http://www.example.com/#hello, world'
7 FAIL canonicalize('http://www.example.com/#©') should be http://www.example.com/#©. Was http://ww…
8 FAIL canonicalize('http://www.example.com/#��ss') should be http://www.example.com/#��ss. Was http:…
9 PASS canonicalize('http://www.example.com/#%41%a') is 'http://www.example.com/#%41%a'
10 FAIL canonicalize('http://www.example.com/#\ud800\u597d') should be http://www.example.com/#�好. Was…
11 FAIL canonicalize('http://www.example.com/#a\uFDD0') should be http://www.example.com/#a﷐. Was http…
12 PASS canonicalize('http://www.example.com/#asdf#qwer') is 'http://www.example.com/#asdf#qwer'
13 PASS canonicalize('http://www.example.com/##asdf') is 'http://www.example.com/##asdf'
14 PASS canonicalize('http://www.example.com/#a\nb\rc\td') is 'http://www.example.com/#abcd'
Dquery-expected.txt6 PASS canonicalize('http://www.example.com/?foo=bar') is 'http://www.example.com/?foo=bar'
7 PASS canonicalize('http://www.example.com/?as?df') is 'http://www.example.com/?as?df'
8 PASS canonicalize('http://www.example.com/?\x02hello bye') is 'http://www.example.com/?%02hello%7F…
9 PASS canonicalize('http://www.example.com/?%40%41123') is 'http://www.example.com/?%40%41123'
10 PASS canonicalize('http://www.example.com/?q=你好') is 'http://www.example.com/?q=%26%2320320%3B%26%2…
11 PASS canonicalize('http://www.example.com/?q=\ud800\ud800') is 'http://www.example.com/?q=%26%23552…
12 PASS canonicalize('http://www.example.com/?q=<asdf>') is 'http://www.example.com/?q=%3Casdf%3E'
13 PASS canonicalize('http://www.example.com/?q="asdf"') is 'http://www.example.com/?q=%22asdf%22'
Dport-expected.txt6 FAIL canonicalize('http://www.example.com:as df/') should be http://www.example.com:as%20df/. Was h…
7 PASS canonicalize('http://www.example.com:-2/') is 'http://www.example.com:-2/'
8 PASS canonicalize('http://www.example.com:80/') is 'http://www.example.com/'
9 PASS canonicalize('http://www.example.com:8080/') is 'http://www.example.com:8080/'
10 PASS canonicalize('http://www.example.com:/') is 'http://www.example.com/'
11 PASS canonicalize('foobar://www.example.com:80/') is 'foobar://www.example.com:80/'
Drelative-unix-expected.txt6 FAIL canonicalize('\\\\Another\\path') should be http://another/path. Was http://Another/path.
7 PASS canonicalize('/c:\\foo') is 'http://host/c:/foo'
8 PASS canonicalize('//c:\\foo') is 'http://c/foo'
Dpath-url-expected.txt6 PASS canonicalize('javascript:') is 'javascript:'
7 PASS canonicalize('JavaScript:Foo') is 'javascript:Foo'
Dtrivial-expected.txt6 PASS canonicalize('http://example.com/') is 'http://example.com/'
7 PASS canonicalize('/') is 'http://example.org/'
Dscheme-expected.txt6 PASS canonicalize('http://example.com/') is 'http://example.com/'
7 PASS canonicalize('HTTP://example.com/') is 'http://example.com/'
/external/elfutils/libdwfl/
Ddwfl_error.c133 canonicalize (Dwfl_Error error) in canonicalize() function
168 return canonicalize (error); in __libdwfl_canon_error()
175 int value = canonicalize (error); in __libdwfl_seterrno()
/external/v8/src/
Dregexp-macro-assembler.cc221 unibrow::Mapping<unibrow::Ecma262Canonicalize>* canonicalize = in CaseInsensitiveCompareUC16() local
236 canonicalize->get(c1, '\0', s1); in CaseInsensitiveCompareUC16()
239 canonicalize->get(c2, '\0', s2); in CaseInsensitiveCompareUC16()
/external/webkit/LayoutTests/fast/url/script-tests/
Dtrivial.js8 var originalBaseURL = canonicalize(".");
Dsegments-from-data-url.js73 var originalBaseURL = canonicalize(".");
Dtrivial-segments.js8 var originalBaseURL = canonicalize(".");
Dsegments.js104 var originalBaseURL = canonicalize(".");
Dfile.js56 var originalBaseURL = canonicalize(".");
Dfile-http-base.js57 var originalBaseURL = canonicalize(".");

123