diff options
Diffstat (limited to 'LayoutTests/fast/url/relative-win-expected.txt')
-rw-r--r-- | LayoutTests/fast/url/relative-win-expected.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/LayoutTests/fast/url/relative-win-expected.txt b/LayoutTests/fast/url/relative-win-expected.txt new file mode 100644 index 0000000..733f815 --- /dev/null +++ b/LayoutTests/fast/url/relative-win-expected.txt @@ -0,0 +1,25 @@ +Test resolution of relative Windows-like URLs. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS canonicalize('http://host/') is 'http://host/' +PASS canonicalize('bar') is 'file:///C:/bar' +FAIL canonicalize('../../../bar.html') should be file:///C:/bar.html. Was file:///bar.html. +FAIL canonicalize('/../bar.html') should be file:///C:/bar.html. Was file:///bar.html. +FAIL canonicalize('\\\\another\\path') should be . Was http://another/path. +FAIL canonicalize('//c:/foo') should be file:///C:/foo. Was file://c:/foo. +FAIL canonicalize('//localhost/c:/foo') should be file:///C:/foo. Was file:///c:/foo. +FAIL canonicalize('c:') should be . Was c:. +FAIL canonicalize('c:/foo') should be . Was c:/foo. +FAIL canonicalize('c:\\foo') should be . Was c:/foo. +FAIL canonicalize('/z:/bar') should be file:///Z:/bar. Was file:///z:/bar. +FAIL canonicalize('/bar') should be file:///C:/bar. Was file:///bar. +FAIL canonicalize('/bar') should be file://localhost/C:/bar. Was file:///bar. +FAIL canonicalize('/bar') should be file:///C:/bar. Was file:///bar. +PASS canonicalize('//somehost/path') is 'file://somehost/path' +FAIL canonicalize('/\\//somehost/path') should be file://somehost/path. Was file:////somehost/path. +PASS successfullyParsed is true + +TEST COMPLETE + |