summaryrefslogtreecommitdiffstats
path: root/webkit/data
diff options
context:
space:
mode:
authordglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 22:28:59 +0000
committerdglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-13 22:28:59 +0000
commite6b104c13df34b5d123a7b7c6685f3c8ace995b3 (patch)
treeeeb8004d3629fd045d0eddbc0ffbd01b663d2845 /webkit/data
parente95e00b48ca904c85fb2e06da00e4ac589dd836d (diff)
downloadchromium_src-e6b104c13df34b5d123a7b7c6685f3c8ace995b3.zip
chromium_src-e6b104c13df34b5d123a7b7c6685f3c8ace995b3.tar.gz
chromium_src-e6b104c13df34b5d123a7b7c6685f3c8ace995b3.tar.bz2
Create port-specific baselines for url decomposition tests.
These are necessary due to differences in GURL and KURL implementations (our's right). R=brettw TEST=none BUG=27548 Review URL: http://codereview.chromium.org/387052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31961 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt26
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt26
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt26
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt26
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt26
5 files changed, 130 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..debd252
--- /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
+PASS a.href is 'foo://www.otherdomain.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..debd252
--- /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
+PASS a.href is 'foo://www.otherdomain.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-pathname-expected.txt b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt
new file mode 100644
index 0000000..a6012558
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt
@@ -0,0 +1,26 @@
+Test setting the pathname attribute of the URL in HTMLAnchorElement.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Set pathname that starts with slash
+PASS a.href is 'https://www.mydomain.com/path%20name?key=value'
+Set pathname that does not start with slash and contains '?'
+PASS a.href is 'https://www.mydomain.com/pa%3Fth?key=value'
+Set pathname that starts with double slash and contains '#'
+PASS a.href is 'https://www.mydomain.com//path%23name?key=value'
+Set a pathname containing .. in it
+PASS a.href is 'https://www.mydomain.com/path?key=value'
+Set pathname to null
+PASS a.href is 'https://www.mydomain.com/?key=value'
+Set pathname to empty string
+PASS a.href is 'https://www.mydomain.com/?key=value'
+Set pathname that includes illegal characters to URL that contains illegal characters.
+FAIL a.href should be https://www.my|d[]()omain.com/path/testurl.html?key=value. Was https://www.my%7Cd[]%28%29omain.com/p$a%7Cth?key=value.
+Set pathname to URL that contains '@' in host
+PASS a.href is 'http://w@/path#ww'
+Set pathname to a URL with non-hierarchical protocol
+PASS a.href is 'tel:+1800-555-1212'
+PASS successfullyParsed is true
+
+TEST COMPLETE
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-hostname-expected.txt
new file mode 100644
index 0000000..6db9153
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/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
+PASS a.href is 'foo://www.otherdomain.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
+FAIL a.href should be c:/path/testurl.html. Was file:///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-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt
new file mode 100644
index 0000000..a6012558
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-pathname-expected.txt
@@ -0,0 +1,26 @@
+Test setting the pathname attribute of the URL in HTMLAnchorElement.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+Set pathname that starts with slash
+PASS a.href is 'https://www.mydomain.com/path%20name?key=value'
+Set pathname that does not start with slash and contains '?'
+PASS a.href is 'https://www.mydomain.com/pa%3Fth?key=value'
+Set pathname that starts with double slash and contains '#'
+PASS a.href is 'https://www.mydomain.com//path%23name?key=value'
+Set a pathname containing .. in it
+PASS a.href is 'https://www.mydomain.com/path?key=value'
+Set pathname to null
+PASS a.href is 'https://www.mydomain.com/?key=value'
+Set pathname to empty string
+PASS a.href is 'https://www.mydomain.com/?key=value'
+Set pathname that includes illegal characters to URL that contains illegal characters.
+FAIL a.href should be https://www.my|d[]()omain.com/path/testurl.html?key=value. Was https://www.my%7Cd[]%28%29omain.com/p$a%7Cth?key=value.
+Set pathname to URL that contains '@' in host
+PASS a.href is 'http://w@/path#ww'
+Set pathname to a URL with non-hierarchical protocol
+PASS a.href is 'tel:+1800-555-1212'
+PASS successfullyParsed is true
+
+TEST COMPLETE