diff options
author | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-15 16:43:26 +0000 |
---|---|---|
committer | dglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-15 16:43:26 +0000 |
commit | 55b6bd40751c27de97b9ec68a2b61b35c96b5a1e (patch) | |
tree | 9b658cae6981d69d0467fba3f9016946a4fdb685 /webkit/data | |
parent | 63f53089eeab71b0d88436c60ab32fda794686dc (diff) | |
download | chromium_src-55b6bd40751c27de97b9ec68a2b61b35c96b5a1e.zip chromium_src-55b6bd40751c27de97b9ec68a2b61b35c96b5a1e.tar.gz chromium_src-55b6bd40751c27de97b9ec68a2b61b35c96b5a1e.tar.bz2 |
Add baselines to passing tests.
TBR=brettw
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/986001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
4 files changed, 114 insertions, 0 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt new file mode 100644 index 0000000..b3cdd43 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt @@ -0,0 +1,26 @@ +Test setting the hostname attribute of the URL in HTMLAnchorElement. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +Basic test +PASS a.href is 'https://www.otherdomain.com:8080/path/' +Extra slashes before hostname +PASS a.href is 'https://www.otherdomain.com:8080/path/' +Set hostname to URL with foo: protocol +FAIL a.href should be foo://www.otherdomain.com/path/. Was foo://www.mydomain.com/path/. +Set hostname to null +PASS a.href is 'https://www.mydomain.com:8080/path/' +Set hostname to empty string +PASS a.href is 'https://www.mydomain.com:8080/path/' +Set hostname to URL with 2 colons +PASS a.href is 'really:bad:url' +Set a hostname that contains space in it +FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20domain.com/path/. +Set hostname on a local file +PASS a.href is 'c:/path/testurl.html' +Set hostname to undefined +PASS a.href is 'https://undefined:8080/path/' +PASS successfullyParsed is true + +TEST COMPLETE diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt new file mode 100644 index 0000000..b3cdd43 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt @@ -0,0 +1,26 @@ +Test setting the hostname attribute of the URL in HTMLAnchorElement. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +Basic test +PASS a.href is 'https://www.otherdomain.com:8080/path/' +Extra slashes before hostname +PASS a.href is 'https://www.otherdomain.com:8080/path/' +Set hostname to URL with foo: protocol +FAIL a.href should be foo://www.otherdomain.com/path/. Was foo://www.mydomain.com/path/. +Set hostname to null +PASS a.href is 'https://www.mydomain.com:8080/path/' +Set hostname to empty string +PASS a.href is 'https://www.mydomain.com:8080/path/' +Set hostname to URL with 2 colons +PASS a.href is 'really:bad:url' +Set a hostname that contains space in it +FAIL a.href should be http://www.my domain.com/path/. Was http://www.other%20domain.com/path/. +Set hostname on a local file +PASS a.href is 'c:/path/testurl.html' +Set hostname to undefined +PASS a.href is 'https://undefined:8080/path/' +PASS successfullyParsed is true + +TEST COMPLETE diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt new file mode 100644 index 0000000..f84a331 --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-port-expected.txt @@ -0,0 +1,24 @@ +Test setting the port attribute of the URL in HTMLAnchorElement. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +Default port as number +PASS a.href is 'https://www.mydomain.com/path/testurl.html?key=value' +Default port as string +PASS a.href is 'https://www.mydomain.com/path/testurl.html?key=value' +Set port to 0 +FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. +Set port to non-number +PASS a.href is 'https://www.mydomain.com:4/path/testurl.html?key=value' +Set port to null +FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. +Set port to empty string +FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. +Set port to undefined +FAIL a.href should be https://www.mydomain.com:0/path/testurl.html?key=value. Was https://www.mydomain.com/path/testurl.html?key=value. +Set port to URL with foo: protocol +FAIL a.href should be foo://bar:50/. Was foo://bar/. +PASS successfullyParsed is true + +TEST COMPLETE diff --git a/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt new file mode 100644 index 0000000..82a674a --- /dev/null +++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt @@ -0,0 +1,38 @@ +The following table shows how URLs are parsed and canonicalized. The base URI for this document is file:///BASE/. + +URL href host pathname +file:///BASE/ /BASE/ +test file:///BASE/test /BASE/test +/ file:/// / +/test file:///test /test +// file:/// / +//test file://test/ test / +/// file:/// / +///test file:///test /test +file: file:///BASE/ /BASE/ +file:test file:///BASE/test /BASE/test +file:/ file:/// / +file:/test file:///test /test +file:// file:/// / +file://test file://test/ test / +file:/// file:/// / +file:///test file:///test /test +file://localhost file://localhost/ localhost / +file://localhost/ file://localhost/ localhost / +file://localhost/test file://localhost/test localhost /test +http: http: +http:/ http: +http:// http: +http:/// http: +http://// http: +http://localhost http://localhost/ localhost / +http://localhost/ http://localhost/ localhost / +http://localhost/test http://localhost/test localhost /test +x-webkit: x-webkit: +x-webkit:test x-webkit:test test +x-webkit:/ x-webkit:/ / +x-webkit:/test x-webkit:/test /test +x-webkit:// x-webkit:// // +x-webkit://test x-webkit://test //test +x-webkit:/// x-webkit:/// /// +x-webkit:///test x-webkit:///test ///test |