Changeset 84770 in webkit
- Timestamp:
- Apr 25, 2011 2:59:58 AM (13 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84766 r84770 1 2011-04-25 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Cameron Zwarich. 4 5 Fix tests after URL parsing fix 6 https://bugs.webkit.org/show_bug.cgi?id=59317 7 8 * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js: Update 9 expected behavior. 10 * fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-protocol.js: Update expected 11 behavior. 12 * fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt: Update expectations. 13 * fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt: Update expectations. 14 * fast/loader/url-parse-1-expected.txt: Update expectations. 15 * http/tests/loading/cross-origin-XHR-willLoadRequest.html: Replace single slash 16 in an http: URL with a double slash - the single slash seemed to be erroneous. 17 1 18 2011-04-24 Dirk Pranke <dpranke@chromium.org> 2 19 -
trunk/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-host.js
r50784 r84770 78 78 } 79 79 80 // Firefox 3.5.2 add the missing '/' thus gets a different result than IE8 and Webkit. 80 // WebKit fails to strip the \r in the authority, and therefore treats the URL as invalid 81 // and gets a different result than Firefox or Chrome; we should probably strip it 81 82 debug("Set host to a malformed URL"); 82 83 a.href = "https:/\rww.my@domain.com:8080/path/"; 83 84 a.host = "www.other!domain.com:15"; 84 shouldBe("a.href", "'https:/ /www.other!domain.com:15/ww.my@domain.com:8080/path/'");85 shouldBe("a.href", "'https:/\\rww.my@domain.com:8080/path/'"); 85 86 86 87 // IE8 throws an "Object Error" exception. -
trunk/LayoutTests/fast/dom/HTMLAnchorElement/script-tests/set-href-attribute-protocol.js
r50784 r84770 61 61 } 62 62 63 // Firefox 3.5.2 tries to build a hierarchical URL.63 // Firefox 4 adds three slashes, unlike Safari and Chrome 64 64 debug("Set protocol to http on malformed URL"); 65 65 a.href = "foo:??bar"; 66 66 a.protocol = "http"; 67 shouldBe("a.href", "'http: ??bar'");67 shouldBe("a.href", "'http:/??bar'"); 68 68 69 69 // IE8 keeps the protocol if it is 'c:'. -
trunk/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-host-expected.txt
r50784 r84770 27 27 PASS a.href is 'https://www.otherdom/ain.com/path/' 28 28 Set host to a malformed URL 29 PASS a.href is 'https:/ /www.other!domain.com:15/ww.my@domain.com:8080/path/'29 PASS a.href is 'https:/\rww.my@domain.com:8080/path/' 30 30 Set host that starts with ':' 31 31 PASS a.href is 'https://domain.com:8080/path/' -
trunk/LayoutTests/fast/dom/HTMLAnchorElement/set-href-attribute-protocol-expected.txt
r50784 r84770 19 19 PASS a.href is 'https://www.mydomain.com/path/' 20 20 Set protocol to http on malformed URL 21 PASS a.href is 'http: ??bar'21 PASS a.href is 'http:/??bar' 22 22 Set protocol to a URL which points to a local file 23 23 PASS a.href is 'f-oo:path' -
trunk/LayoutTests/fast/loader/url-parse-1-expected.txt
r50395 r84770 21 21 file://localhost/ file:/// / 22 22 file://localhost/test file:///test /test 23 http: http: 23 http: http:/ / 24 24 http:/ http:/ / 25 25 http:// http:/ / -
trunk/LayoutTests/http/tests/loading/cross-origin-XHR-willLoadRequest.html
r75768 r84770 1 1 <script> 2 2 layoutTestController.dumpAsText(); 3 layoutTestController.addURLToRedirect("http:/ localhost:8000/loading/resources/bar.txt", "http://localhost:8000/loading/resources/foo.txt");3 layoutTestController.addURLToRedirect("http://localhost:8000/loading/resources/bar.txt", "http://localhost:8000/loading/resources/foo.txt"); 4 4 5 5 var request = new XMLHttpRequest(); 6 request.open("GET", "http:/ localhost:8000/loading/resources/bar.txt");6 request.open("GET", "http://localhost:8000/loading/resources/bar.txt"); 7 7 request.send(); 8 8 </script>
Note: See TracChangeset
for help on using the changeset viewer.