summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 16:43:26 +0000
committerdglazkov@chromium.org <dglazkov@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-15 16:43:26 +0000
commit55b6bd40751c27de97b9ec68a2b61b35c96b5a1e (patch)
tree9b658cae6981d69d0467fba3f9016946a4fdb685 /webkit
parent63f53089eeab71b0d88436c60ab32fda794686dc (diff)
downloadchromium_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')
-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-port-expected.txt24
-rw-r--r--webkit/data/layout_tests/platform/chromium-mac/LayoutTests/fast/loader/url-parse-1-expected.txt38
-rw-r--r--webkit/tools/layout_tests/test_expectations.txt4
5 files changed, 114 insertions, 4 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
diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt
index 7129632..b39886a 100644
--- a/webkit/tools/layout_tests/test_expectations.txt
+++ b/webkit/tools/layout_tests/test_expectations.txt
@@ -2860,10 +2860,6 @@ BUG37962 MAC LINUX DEBUG : fast/dom/HTMLElement/bdo.html = CRASH PASS
BUG37962 LINUX DEBUG : fast/forms/multiple-form-submission-protection-mouse.html = CRASH PASS
BUG37962 MAC : plugins/iframe-shims.html = TEXT PASS
-BUG_DGLAZKOV MAC LINUX : fast/dom/HTMLAnchorElement/set-href-attribute-hostname.html = TEXT
-BUG_DGLAZKOV MAC LINUX : fast/dom/HTMLAnchorElement/set-href-attribute-port.html = TEXT
-BUG_DGLAZKOV MAC LINUX : fast/loader/url-parse-1.html = TEXT
-
// WebKit roll r55853 -> 55940
// Need rebaseline
BUG_JIANLI WIN LINUX : editing/deleting/non-smart-delete.html = IMAGE+TEXT