Log Message
[GTK] Tests that fail since the new URLParser has been enabled on r207162. https://bugs.webkit.org/show_bug.cgi?id=163335
Unreviewed gardening. Rebaseline 12 tests that don't look like real failures, and report the other 36 that look as such. * platform/gtk/TestExpectations: * platform/gtk/fast/css-generated-content/malformed-url-expected.txt: Added. * platform/gtk/fast/loader/redirect-to-invalid-url-using-_javascript_-calls-policy-delegate-expected.txt: Added. * platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt: Added. * platform/gtk/fast/loader/url-parse-1-expected.txt: Added. * platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt: Added. * platform/gtk/fast/url/invalid-idn-expected.txt: Added. * platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt: Added. * platform/gtk/fast/url/tab-and-newline-stripping-expected.txt: Added. * platform/gtk/fast/url/url-credentials-escaping-expected.txt: Added. * platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt: Added. * platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt: Added.
Modified Paths
Added Paths
- trunk/LayoutTests/platform/gtk/fast/css-generated-content/malformed-url-expected.txt
- trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-_javascript_-calls-policy-delegate-expected.txt
- trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt
- trunk/LayoutTests/platform/gtk/fast/loader/url-parse-1-expected.txt
- trunk/LayoutTests/platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt
- trunk/LayoutTests/platform/gtk/fast/url/
- trunk/LayoutTests/platform/gtk/fast/url/invalid-idn-expected.txt
- trunk/LayoutTests/platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt
- trunk/LayoutTests/platform/gtk/fast/url/tab-and-newline-stripping-expected.txt
- trunk/LayoutTests/platform/gtk/fast/url/url-credentials-escaping-expected.txt
- trunk/LayoutTests/platform/gtk/http/tests/eventsource/
- trunk/LayoutTests/platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt
- trunk/LayoutTests/platform/gtk/http/tests/websocket/
- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/
- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/
- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt
- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/
- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/
- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/
- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/
- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/
- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt
Diff
Modified: trunk/LayoutTests/ChangeLog (207216 => 207217)
--- trunk/LayoutTests/ChangeLog 2016-10-12 16:24:55 UTC (rev 207216)
+++ trunk/LayoutTests/ChangeLog 2016-10-12 16:32:20 UTC (rev 207217)
@@ -1,3 +1,26 @@
+2016-10-12 Carlos Alberto Lopez Perez <[email protected]>
+
+ [GTK] Tests that fail since the new URLParser has been enabled on r207162.
+ https://bugs.webkit.org/show_bug.cgi?id=163335
+
+ Unreviewed gardening.
+
+ Rebaseline 12 tests that don't look like real failures, and report the other 36 that look as such.
+
+ * platform/gtk/TestExpectations:
+ * platform/gtk/fast/css-generated-content/malformed-url-expected.txt: Added.
+ * platform/gtk/fast/loader/redirect-to-invalid-url-using-_javascript_-calls-policy-delegate-expected.txt: Added.
+ * platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt: Added.
+ * platform/gtk/fast/loader/url-parse-1-expected.txt: Added.
+ * platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt: Added.
+ * platform/gtk/fast/url/invalid-idn-expected.txt: Added.
+ * platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt: Added.
+ * platform/gtk/fast/url/tab-and-newline-stripping-expected.txt: Added.
+ * platform/gtk/fast/url/url-credentials-escaping-expected.txt: Added.
+ * platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt: Added.
+ * platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt: Added.
+ * platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt: Added.
+
2016-10-12 Chris Dumez <[email protected]>
Update remaining DOM events to stop using legacy [ConstructorTemplate=Event]
Modified: trunk/LayoutTests/platform/gtk/TestExpectations (207216 => 207217)
--- trunk/LayoutTests/platform/gtk/TestExpectations 2016-10-12 16:24:55 UTC (rev 207216)
+++ trunk/LayoutTests/platform/gtk/TestExpectations 2016-10-12 16:32:20 UTC (rev 207217)
@@ -724,6 +724,44 @@
webkit.org/b/162815 animations/font-variation-settings-order.html [ Timeout ]
webkit.org/b/162815 animations/font-variation-settings.html [ Timeout ]
+# Failing since a new URLParser has been enabled on r207162
+webkit.org/b/163335 fast/backgrounds/background-shorthand-after-set-backgroundSize.html [ Failure ]
+webkit.org/b/163335 fast/backgrounds/background-shorthand-with-backgroundSize-style.html [ Failure ]
+webkit.org/b/163335 fast/css/getComputedStyle/computed-style-border-image.html [ Failure ]
+webkit.org/b/163335 fast/css/getComputedStyle/computed-style-cross-fade.html [ Failure ]
+webkit.org/b/163335 fast/css/getComputedStyle/getComputedStyle-background-shorthand.html [ Failure ]
+webkit.org/b/163335 fast/css/getComputedStyle/getComputedStyle-list-style-shorthand.html [ Failure ]
+webkit.org/b/163335 fast/dom/DOMURL/parsing.html [ Failure ]
+webkit.org/b/163335 fast/dom/DOMURL/set-href-attribute-protocol.html [ Failure ]
+webkit.org/b/163335 fast/dom/HTMLAnchorElement/anchor-element-href-parsing.html [ Failure ]
+webkit.org/b/163335 fast/dom/HTMLAnchorElement/set-href-attribute-protocol.html [ Failure ]
+webkit.org/b/163335 fast/forms/ValidityState-typeMismatch-url.html [ Failure ]
+webkit.org/b/163335 fast/url/anchor.html [ Failure ]
+webkit.org/b/163335 fast/url/file-http-base.html [ Failure ]
+webkit.org/b/163335 fast/url/file.html [ Failure ]
+webkit.org/b/163335 fast/url/host-lowercase-per-scheme.html [ Failure ]
+webkit.org/b/163335 fast/url/host.html [ Failure ]
+webkit.org/b/163335 fast/url/idna2003.html [ Failure ]
+webkit.org/b/163335 fast/url/invalid-urls-utf8.html [ Failure ]
+webkit.org/b/163335 fast/url/ipv4.html [ Failure ]
+webkit.org/b/163335 fast/url/ipv6.html [ Failure ]
+webkit.org/b/163335 fast/url/path.html [ Failure ]
+webkit.org/b/163335 fast/url/relative-win.html [ Failure ]
+webkit.org/b/163335 fast/url/relative.html [ Failure ]
+webkit.org/b/163335 fast/url/safari-extension.html [ Failure ]
+webkit.org/b/163335 fast/url/segments-from-data-url.html [ Failure ]
+webkit.org/b/163335 fast/url/segments.html [ Failure ]
+webkit.org/b/163335 fast/url/standard-url.html [ Failure ]
+webkit.org/b/163335 fetch/fetch-url-serialization.html [ Failure ]
+webkit.org/b/163335 http/tests/inspector/network/copy-as-curl.html [ Failure ]
+webkit.org/b/163335 http/tests/uri/resolve-encoding-relative.html [ Failure ]
+webkit.org/b/163335 imported/w3c/web-platform-tests/html/semantics/embedded-content/media-elements/interfaces/HTMLElement/HTMLTrackElement/src.html [ Failure ]
+webkit.org/b/163335 imported/w3c/web-platform-tests/url/a-element-xhtml.xhtml [ Failure ]
+webkit.org/b/163335 imported/w3c/web-platform-tests/url/a-element.html [ Failure ]
+webkit.org/b/163335 imported/w3c/web-platform-tests/url/url-constructor.html [ Failure ]
+webkit.org/b/163335 imported/w3c/web-platform-tests/url/url-setters.html [ Failure ]
+webkit.org/b/163335 fast/loader/file-URL-with-port-number.html [ Timeout ]
+
#////////////////////////////////////////////////////////////////////////////////////////
# End of Expected failures
#////////////////////////////////////////////////////////////////////////////////////////
Added: trunk/LayoutTests/platform/gtk/fast/css-generated-content/malformed-url-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/css-generated-content/malformed-url-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/css-generated-content/malformed-url-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,2 @@
+Blocked access to external URL http://%server%/
+PASS
Added: trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-_javascript_-calls-policy-delegate-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-_javascript_-calls-policy-delegate-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-_javascript_-calls-policy-delegate-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,4 @@
+Policy delegate: attempt to load http://A=a&B=b with navigation type 'other'
+Tests that we do not redirect to an invalid URL initiated by _javascript_. This test PASSED if you see an entry in the dumped frame load callbacks of the form: "willPerformClientRedirectToURL: http://A=a&B=b" followed by "didCancelClientRedirectForFrame".
+
+Note, this test must be run in DumpRenderTree.
Added: trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/loader/redirect-to-invalid-url-using-meta-refresh-calls-policy-delegate-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,4 @@
+Policy delegate: attempt to load http://A=a&B=b with navigation type 'other'
+Tests that we do not redirect to an invalid URL initiated by <meta http-equiv="refresh">. This test PASSED if you see an entry in the dumped frame load callbacks of the form: "willPerformClientRedirectToURL: http://A=a&B=b" followed by "didCancelClientRedirectForFrame".
+
+Note, this test must be run in DumpRenderTree.
Added: trunk/LayoutTests/platform/gtk/fast/loader/url-parse-1-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/loader/url-parse-1-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/loader/url-parse-1-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,46 @@
+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:/// /
+file://localhost/ file:/// /
+file://localhost/test file:///test /test
+http: http:/ /
+http:/ http:/ /
+http:// http:/ /
+http:/// http:/ /
+http://// http:/ /
+http:webkit.org http://webkit.org/ webkit.org /
+http:/webkit.org http://webkit.org/ webkit.org /
+http://webkit.org http://webkit.org/ webkit.org /
+http:///webkit.org http://webkit.org/ webkit.org /
+http:////webkit.org http://webkit.org/ webkit.org /
+http://///webkit.org http://webkit.org/ webkit.org /
+http://////webkit.org http://webkit.org/ webkit.org /
+http:////////////////webkit.org http://webkit.org/ webkit.org /
+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
Added: trunk/LayoutTests/platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/loader/window-open-to-invalid-url-calls-policy-delegate-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,4 @@
+Policy delegate: attempt to load http://A=a&B=b with navigation type 'other'
+Tests that we call the navigation policy delegate when opening a new window to an invalid URL.
+
+Note, this test must be run in DumpRenderTree.
Added: trunk/LayoutTests/platform/gtk/fast/url/invalid-idn-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/url/invalid-idn-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/url/invalid-idn-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,4 @@
+Test passes if all the invalid urls are converted to about:blank.
+about:blank
+about:blank
+
Added: trunk/LayoutTests/platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/url/segments-userinfo-vs-host-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,135 @@
+Canonicalization of URLs that start with something that may or may not be userinfo
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS canonicalize('http:@www.apple.com') is 'http://www.apple.com/'
+PASS segments('http:@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:/@www.apple.com') is 'http://www.apple.com/'
+PASS segments('http:/@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http://@www.apple.com') is 'http://www.apple.com/'
+PASS segments('http://@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:a:[email protected]') is 'http://a:[email protected]/'
+PASS segments('http:a:[email protected]') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:/a:[email protected]') is 'http://a:[email protected]/'
+PASS segments('http:/a:[email protected]') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http://a:[email protected]') is 'http://a:[email protected]/'
+PASS segments('http://a:[email protected]') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http://@pple.com') is 'http://pple.com/'
+PASS segments('http://@pple.com') is '["http:","pple.com","","/","",""]'
+
+PASS canonicalize('http::[email protected]') is 'http://:[email protected]/'
+PASS segments('http::[email protected]') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:/:[email protected]') is 'http://:[email protected]/'
+PASS segments('http:/:[email protected]') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http://:[email protected]') is 'http://:[email protected]/'
+PASS segments('http://:[email protected]') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:/:@/www.apple.com') is 'http:/:@/www.apple.com'
+PASS segments('http:/:@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://user@/www.apple.com') is 'http://user@/www.apple.com'
+PASS segments('http://user@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:@/www.apple.com') is 'http:@/www.apple.com'
+PASS segments('http:@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:/@/www.apple.com') is 'http:/@/www.apple.com'
+PASS segments('http:/@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://@/www.apple.com') is 'http://@/www.apple.com'
+PASS segments('http://@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('https:@/www.apple.com') is 'https:@/www.apple.com'
+PASS segments('https:@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:a:b@/www.apple.com') is 'http:a:b@/www.apple.com'
+PASS segments('http:a:b@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:/a:b@/www.apple.com') is 'http:/a:b@/www.apple.com'
+PASS segments('http:/a:b@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://a:b@/www.apple.com') is 'http://a:b@/www.apple.com'
+PASS segments('http://a:b@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http::@/www.apple.com') is 'http::@/www.apple.com'
+PASS segments('http::@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:a:@www.apple.com') is 'http://[email protected]/'
+PASS segments('http:a:@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:/a:@www.apple.com') is 'http://[email protected]/'
+PASS segments('http:/a:@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http://a:@www.apple.com') is 'http://[email protected]/'
+PASS segments('http://a:@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http://a:b@[email protected]/p@th') is 'http://a:b@[email protected]/p@th'
+PASS segments('http://a:b@[email protected]/p@th') is '[":","","","","",""]'
+
+PASS canonicalize('http://www.@@pple.com') is 'http://www.@@pple.com'
+PASS segments('http://www.@@pple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://@@pple.com') is 'http://@@pple.com'
+PASS segments('http://@@pple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://@@@pple.com') is 'http://@@@pple.com'
+PASS segments('http://@@@pple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:@@/www.apple.com') is 'http:@@/www.apple.com'
+PASS segments('http:@@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:/@@/www.apple.com') is 'http:/@@/www.apple.com'
+PASS segments('http:/@@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://@@/www.apple.com') is 'http://@@/www.apple.com'
+PASS segments('http://@@/www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:@:[email protected]') is 'http:@:[email protected]'
+PASS segments('http:@:[email protected]') is '[":","","","","",""]'
+
+PASS canonicalize('http:/@:[email protected]') is 'http:/@:[email protected]'
+PASS segments('http:/@:[email protected]') is '[":","","","","",""]'
+
+PASS canonicalize('http://@:[email protected]') is 'http://@:[email protected]'
+PASS segments('http://@:[email protected]') is '[":","","","","",""]'
+
+PASS canonicalize('http://[email protected]') is 'http://[email protected]/'
+PASS segments('http://[email protected]') is '["http:","pple.com","","/","",""]'
+
+PASS canonicalize('http:@:www.apple.com') is 'http:@:www.apple.com'
+PASS segments('http:@:www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http:/@:www.apple.com') is 'http:/@:www.apple.com'
+PASS segments('http:/@:www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://@:www.apple.com') is 'http://@:www.apple.com'
+PASS segments('http://@:www.apple.com') is '[":","","","","",""]'
+
+PASS canonicalize('http://:@www.apple.com') is 'http://www.apple.com/'
+PASS segments('http://:@www.apple.com') is '["http:","www.apple.com","","/","",""]'
+
+PASS canonicalize('http:@:/www.apple.com') is 'http://:/www.apple.com'
+PASS segments('http:@:/www.apple.com') is '["http:","","0","/www.apple.com","",""]'
+
+PASS canonicalize('http:/@:/www.apple.com') is 'http://:/www.apple.com'
+PASS segments('http:/@:/www.apple.com') is '["http:","","0","/www.apple.com","",""]'
+
+PASS canonicalize('http://@:/www.apple.com') is 'http://:/www.apple.com'
+PASS segments('http://@:/www.apple.com') is '["http:","","0","/www.apple.com","",""]'
+
+PASS canonicalize('http:@:80/www.apple.com') is 'http://:80/www.apple.com'
+PASS segments('http:@:80/www.apple.com') is '["http:","","80","/www.apple.com","",""]'
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/gtk/fast/url/tab-and-newline-stripping-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/url/tab-and-newline-stripping-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/url/tab-and-newline-stripping-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,32 @@
+Strip tabs and newlines according to URL spec: https://url.spec.whatwg.org/#concept-basic-url-parser
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS canonicalize('scheme://username:[email protected]:5000/path?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('\tsch\neme\r://username:[email protected]:5000/path?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme:\t/\n/username:[email protected]:5000/path?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme://\tuser\rname\n:\rpassw\nord\[email protected]:5000/path?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme://username:password@\tho\nst\r.\tna\nme\r:5000/path?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme://username:[email protected]:\t5\n000\r/path?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme://username:[email protected]:5000/\tpa\nth\r?query#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme://username:[email protected]:5000/path?\tqu\nery\r#fragment') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('scheme://username:[email protected]:5000/path?query#\tfr\nagment\r') is 'scheme://username:[email protected]:5000/path?query#fragment'
+PASS canonicalize('\tht\ntp\r://www.example.com/') is 'http://www.example.com/'
+PASS canonicalize('\tht\ntps\r://www.example.com/') is 'https://www.example.com/'
+PASS canonicalize('\tfi\nle\r:///var/tmp') is 'file:///var/tmp'
+PASS canonicalize('file://\n/v\tar\r/\ttm\np\r') is 'file:///var/tmp'
+PASS canonicalize('http://\n12\r7\t.0.0.1\t/') is 'http://127.0.0.1/'
+PASS canonicalize('http://\n[\r200\t1\r:\t5:\n:042:44::0370:7334\r]\t/') is 'http://[2001:5::042:44::0370:7334]/'
+PASS canonicalize('http://\tlo\ncalhost\r') is 'http://localhost/'
+PASS canonicalize('\t/\n/\rsch\teme\n/relative\r') is 'file://scheme/relative'
+PASS canonicalize('\t/\npa\rth\t/\nabsolute\r') is 'file:///path/absolute'
+PASS canonicalize('\td\nata\r:image/png;base64,invalidData') is 'data:image/png;base64,invalidData'
+PASS canonicalize('data:\tim\rage/png\n;\tbas\ne64\r,\tinv\nalidData\r') is 'data:image/png;base64,invalidData'
+PASS canonicalize('\tjav\nascript\r:alert(1);') is '_javascript_:alert(1);'
+PASS canonicalize('_javascript_:\tal\rert\n(\n1)\t;\r') is '_javascript_:alert(1);'
+PASS canonicalize(relativePathSchemeLessURL) is expectedRelativePathSchemeLessURL
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/gtk/fast/url/url-credentials-escaping-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/fast/url/url-credentials-escaping-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/fast/url/url-credentials-escaping-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,51 @@
+Test that URL username and password accessors encode/decode correctly
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+
+Basic syntax
+PASS build('user').toString() is "http://[email protected]/"
+PASS build('user').username is "user"
+PASS build('%').toString() is "http://%@www.apple.com/"
+PASS build('%').username is "%"
+PASS build('%%').toString() is "http://%%@www.apple.com/"
+PASS build('%%').username is "%%"
+PASS build('%z').toString() is "http://%[email protected]/"
+PASS build('%z').username is "%z"
+PASS build('%61').toString() is "http://%[email protected]/"
+PASS build('%61').username is "%61"
+PASS build('%40').toString() is "http://%[email protected]/"
+PASS build('%40').username is "%40"
+
+Simple encode set
+PASS build('').toString() is "http://%[email protected]/"
+PASS build('user', '').toString() is "http://user:%[email protected]/"
+
+Default encode set additions
+PASS build(' "#><?`').toString() is "http://%20%22%23%3e%3c%[email protected]/"
+PASS build('user', ' "#><?`').toString() is "http://user:%20%22%23%3e%3c%[email protected]/"
+
+Password encode set additions
+PASS build('/@\\').toString() is "http://%2f%[email protected]/"
+PASS build('user', '/@\\').toString() is "http://user:%2f%[email protected]/"
+':' shouldn't be encoded in the password per the URL Standard, although both Firefox and Chrome encode it
+PASS build('user', ':').toString() is "http://user::@www.apple.com/"
+
+Username encode set addition
+PASS build(':').toString() is "http://%[email protected]/"
+
+8-bit
+PASS build('юзер', 'пароль').toString() is "http://%D1%8E%D0%B7%D0%B5%D1%80:%d0%bf%d0%b0%d1%80%d0%be%d0%bb%[email protected]/"
+PASS build('юзер').username is "%D1%8E%D0%B7%D0%B5%D1%80"
+PASS build('user', 'пароль').password is "%D0%BF%D0%B0%D1%80%D0%BE%D0%BB%D1%8C"
+
+Some special characters that don't get encoded when used in credentials
+PASS build('!$&*()-+~').toString() is "http://!$&*()[email protected]/"
+
+Some characters that shouldn't be encoded per the URL Standard, although both Firefox and Chrome encode them
+PASS build('^{|}[]=').toString() is "http://^{|}[][email protected]/"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/eventsource/eventsource-cors-non-http-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,12 @@
+CONSOLE MESSAGE: EventSource cannot load ftp://127.0.0.1. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: EventSource cannot load motd. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: EventSource cannot load localhost:8080/. Cross origin requests are only supported for HTTP.
+CONSOLE MESSAGE: EventSource cannot load tel:1234. Cross origin requests are only supported for HTTP.
+Test EventSource with non-HTTP protocol schemes in the URL. Should print a series of PASS messages followed by DONE.
+
+PASS: got error event and readyState is CLOSED
+PASS: got error event and readyState is CLOSED
+PASS: got error event and readyState is CLOSED
+PASS: got error event and readyState is CLOSED
+DONE
+
Added: trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/http/tests/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,17 @@
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?01.00' failed: Invalid HTTP version string: HTTP/01.00
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?000.99' failed: Invalid HTTP version string: HTTP/000.99
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?0.00' failed: Invalid HTTP version string: HTTP/0.00
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?-11.9' failed: Invalid HTTP version string: HTTP/-11.9
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?0x1.0x00' failed: Invalid HTTP version string: HTTP/0x1.0x00
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?%EF%A3%BF.1' failed: Invalid HTTP version string: HTTP/%EF%A3%BF.1
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?' failed: Invalid HTTP version string: HTTP/
+CONSOLE MESSAGE: WebSocket connection to 'ws://localhost:8880/websocket/tests/hybi/handshake-ok-with-http-version-beyond-1_1?1.1%EF%A3%BF' failed: Invalid HTTP version string: HTTP/1.1%EF%A3%BF
+Test http version parsing and validation. HTTP version 1.1 and above should be accepted for WebSockets.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+PASS for all URLs.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Added: trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt (0 => 207217)
--- trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt (rev 0)
+++ trunk/LayoutTests/platform/gtk/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/fetch-src/failure-expected.txt 2016-10-12 16:32:20 UTC (rev 207217)
@@ -0,0 +1,4 @@
+Blocked access to external URL http://[]/
+
+PASS Script src with an invalid URL
+
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
