diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog index 0fe0d68a89df..c5479aa3226a 100644 --- a/LayoutTests/ChangeLog +++ b/LayoutTests/ChangeLog @@ -1,3 +1,13 @@ +2021-07-07 Alex Christensen + + Update URL test expectations + https://bugs.webkit.org/show_bug.cgi?id=172337 + + Before r225186 this test asserted, so it was marked as pass/fail for some reason instead of being skipped. + Now it's fine, though, so mark it as passing and update the expectations. + + * TestExpectations: + 2021-07-07 Chris Dumez SubtleCrypto should only be exposed to secure contexts diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations index 5601ff1fe1fc..d936a85cbebf 100644 --- a/LayoutTests/TestExpectations +++ b/LayoutTests/TestExpectations @@ -1869,8 +1869,6 @@ webkit.org/b/121628 [ Release ] fast/history/history-back-while-pdf-in-pagecache [ Debug ] fullscreen/full-screen-iframe-legacy.html [ Pass Crash ] webkit.org/b/151488 [ Debug ] imported/blink/editing/selection/deleteFromDocument-undo-crash.html [ Skip ] -webkit.org/b/172337 imported/w3c/web-platform-tests/url/failure.html [ Pass Failure ] - webkit.org/b/139634 [ Debug ] fast/selectors/is-backtracking.html [ Slow ] webkit.org/b/139634 [ Debug ] fast/selectors/matches-backtracking.html [ Slow ] webkit.org/b/139634 [ Debug ] fast/selectors/nth-child-of-register-requirement.html [ Slow ] diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog index 5d62a6e5bf08..55df082909a9 100644 --- a/LayoutTests/imported/w3c/ChangeLog +++ b/LayoutTests/imported/w3c/ChangeLog @@ -1,3 +1,10 @@ +2021-07-07 Alex Christensen + + Update URL test expectations + https://bugs.webkit.org/show_bug.cgi?id=172337 + + * web-platform-tests/url/failure-expected.txt: + 2021-07-06 Commit Queue Unreviewed, reverting r279546, r279554, r279558 and r279567. diff --git a/LayoutTests/imported/w3c/web-platform-tests/url/failure-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/url/failure-expected.txt index d3037c0c1e47..3848e392bdb3 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/url/failure-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/url/failure-expected.txt @@ -42,10 +42,6 @@ FAIL Location's href: http://foo:-80/ should throw assert_throws_js: function "( PASS window.open(): http://foo:-80/ should throw PASS URL's constructor's base argument: http:/:@/www.example.com should throw PASS URL's href: http:/:@/www.example.com should throw -FAIL XHR: http:/:@/www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): http:/:@/www.example.com should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: http:/:@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): http:/:@/www.example.com should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: http://user@/www.example.com should throw PASS URL's href: http://user@/www.example.com should throw PASS XHR: http://user@/www.example.com should throw @@ -54,16 +50,8 @@ FAIL Location's href: http://user@/www.example.com should throw assert_throws_js PASS window.open(): http://user@/www.example.com should throw PASS URL's constructor's base argument: http:@/www.example.com should throw PASS URL's href: http:@/www.example.com should throw -FAIL XHR: http:@/www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): http:@/www.example.com should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: http:@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): http:@/www.example.com should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: http:/@/www.example.com should throw PASS URL's href: http:/@/www.example.com should throw -FAIL XHR: http:/@/www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): http:/@/www.example.com should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: http:/@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): http:/@/www.example.com should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: http://@/www.example.com should throw PASS URL's href: http://@/www.example.com should throw PASS XHR: http://@/www.example.com should throw @@ -72,22 +60,10 @@ FAIL Location's href: http://@/www.example.com should throw assert_throws_js: fu PASS window.open(): http://@/www.example.com should throw PASS URL's constructor's base argument: https:@/www.example.com should throw PASS URL's href: https:@/www.example.com should throw -PASS XHR: https:@/www.example.com should throw -PASS sendBeacon(): https:@/www.example.com should throw -FAIL Location's href: https:@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -PASS window.open(): https:@/www.example.com should throw PASS URL's constructor's base argument: http:a:b@/www.example.com should throw PASS URL's href: http:a:b@/www.example.com should throw -FAIL XHR: http:a:b@/www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): http:a:b@/www.example.com should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: http:a:b@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): http:a:b@/www.example.com should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: http:/a:b@/www.example.com should throw PASS URL's href: http:/a:b@/www.example.com should throw -FAIL XHR: http:/a:b@/www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): http:/a:b@/www.example.com should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: http:/a:b@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): http:/a:b@/www.example.com should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: http://a:b@/www.example.com should throw PASS URL's href: http://a:b@/www.example.com should throw PASS XHR: http://a:b@/www.example.com should throw @@ -96,10 +72,6 @@ FAIL Location's href: http://a:b@/www.example.com should throw assert_throws_js: PASS window.open(): http://a:b@/www.example.com should throw PASS URL's constructor's base argument: http::@/www.example.com should throw PASS URL's href: http::@/www.example.com should throw -FAIL XHR: http::@/www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): http::@/www.example.com should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: http::@/www.example.com should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): http::@/www.example.com should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: http:@:www.example.com should throw PASS URL's href: http:@:www.example.com should throw FAIL XHR: http:@:www.example.com should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw @@ -136,30 +108,6 @@ PASS XHR: http://a.b.c.xn--pokxncvks should throw PASS sendBeacon(): http://a.b.c.xn--pokxncvks should throw FAIL Location's href: http://a.b.c.xn--pokxncvks should throw assert_throws_js: function "() => self[0].location = test.input" did not throw PASS window.open(): http://a.b.c.xn--pokxncvks should throw -PASS URL's constructor's base argument: http://a.b.x.xn--pokxncvks should throw -PASS URL's href: http://a.b.x.xn--pokxncvks should throw -PASS XHR: http://a.b.x.xn--pokxncvks should throw -PASS sendBeacon(): http://a.b.x.xn--pokxncvks should throw -FAIL Location's href: http://a.b.x.xn--pokxncvks should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -PASS window.open(): http://a.b.x.xn--pokxncvks should throw -PASS URL's constructor's base argument: http://a.b.xn.xn--pokxncvks should throw -PASS URL's href: http://a.b.xn.xn--pokxncvks should throw -PASS XHR: http://a.b.xn.xn--pokxncvks should throw -PASS sendBeacon(): http://a.b.xn.xn--pokxncvks should throw -FAIL Location's href: http://a.b.xn.xn--pokxncvks should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -PASS window.open(): http://a.b.xn.xn--pokxncvks should throw -PASS URL's constructor's base argument: http://a.b.xn-.xn--pokxncvks should throw -PASS URL's href: http://a.b.xn-.xn--pokxncvks should throw -PASS XHR: http://a.b.xn-.xn--pokxncvks should throw -PASS sendBeacon(): http://a.b.xn-.xn--pokxncvks should throw -FAIL Location's href: http://a.b.xn-.xn--pokxncvks should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -PASS window.open(): http://a.b.xn-.xn--pokxncvks should throw -PASS URL's constructor's base argument: http://a.b.xn--.xn--pokxncvks should throw -PASS URL's href: http://a.b.xn--.xn--pokxncvks should throw -PASS XHR: http://a.b.xn--.xn--pokxncvks should throw -PASS sendBeacon(): http://a.b.xn--.xn--pokxncvks should throw -FAIL Location's href: http://a.b.xn--.xn--pokxncvks should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -PASS window.open(): http://a.b.xn--.xn--pokxncvks should throw PASS URL's constructor's base argument: http://10.0.0.xn--pokxncvks should throw PASS URL's href: http://10.0.0.xn--pokxncvks should throw PASS XHR: http://10.0.0.xn--pokxncvks should throw @@ -268,6 +216,114 @@ PASS XHR: non-special://a^b should throw PASS sendBeacon(): non-special://a^b should throw FAIL Location's href: non-special://a^b should throw assert_throws_js: function "() => self[0].location = test.input" did not throw PASS window.open(): non-special://a^b should throw +PASS URL's constructor's base argument: foo://ho\0st/ should throw +PASS URL's href: foo://ho\0st/ should throw +PASS XHR: foo://ho\0st/ should throw +PASS sendBeacon(): foo://ho\0st/ should throw +FAIL Location's href: foo://ho\0st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): foo://ho\0st/ should throw +PASS URL's constructor's base argument: foo://ho|st/ should throw +PASS URL's href: foo://ho|st/ should throw +PASS XHR: foo://ho|st/ should throw +PASS sendBeacon(): foo://ho|st/ should throw +FAIL Location's href: foo://ho|st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): foo://ho|st/ should throw +PASS URL's constructor's base argument: http://ho%00st/ should throw +PASS URL's href: http://ho%00st/ should throw +PASS XHR: http://ho%00st/ should throw +PASS sendBeacon(): http://ho%00st/ should throw +FAIL Location's href: http://ho%00st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%00st/ should throw +PASS URL's constructor's base argument: http://ho%09st/ should throw +PASS URL's href: http://ho%09st/ should throw +PASS XHR: http://ho%09st/ should throw +PASS sendBeacon(): http://ho%09st/ should throw +FAIL Location's href: http://ho%09st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%09st/ should throw +PASS URL's constructor's base argument: http://ho%0Ast/ should throw +PASS URL's href: http://ho%0Ast/ should throw +PASS XHR: http://ho%0Ast/ should throw +PASS sendBeacon(): http://ho%0Ast/ should throw +FAIL Location's href: http://ho%0Ast/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%0Ast/ should throw +PASS URL's constructor's base argument: http://ho%0Dst/ should throw +PASS URL's href: http://ho%0Dst/ should throw +PASS XHR: http://ho%0Dst/ should throw +PASS sendBeacon(): http://ho%0Dst/ should throw +FAIL Location's href: http://ho%0Dst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%0Dst/ should throw +PASS URL's constructor's base argument: http://ho%20st/ should throw +PASS URL's href: http://ho%20st/ should throw +PASS XHR: http://ho%20st/ should throw +PASS sendBeacon(): http://ho%20st/ should throw +FAIL Location's href: http://ho%20st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%20st/ should throw +PASS URL's constructor's base argument: http://ho%23st/ should throw +PASS URL's href: http://ho%23st/ should throw +PASS XHR: http://ho%23st/ should throw +PASS sendBeacon(): http://ho%23st/ should throw +FAIL Location's href: http://ho%23st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%23st/ should throw +PASS URL's constructor's base argument: http://ho%2Fst/ should throw +PASS URL's href: http://ho%2Fst/ should throw +PASS XHR: http://ho%2Fst/ should throw +PASS sendBeacon(): http://ho%2Fst/ should throw +FAIL Location's href: http://ho%2Fst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%2Fst/ should throw +PASS URL's constructor's base argument: http://ho%3Ast/ should throw +PASS URL's href: http://ho%3Ast/ should throw +PASS XHR: http://ho%3Ast/ should throw +PASS sendBeacon(): http://ho%3Ast/ should throw +FAIL Location's href: http://ho%3Ast/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%3Ast/ should throw +PASS URL's constructor's base argument: http://ho%3Cst/ should throw +PASS URL's href: http://ho%3Cst/ should throw +PASS XHR: http://ho%3Cst/ should throw +PASS sendBeacon(): http://ho%3Cst/ should throw +FAIL Location's href: http://ho%3Cst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%3Cst/ should throw +PASS URL's constructor's base argument: http://ho%3Est/ should throw +PASS URL's href: http://ho%3Est/ should throw +PASS XHR: http://ho%3Est/ should throw +PASS sendBeacon(): http://ho%3Est/ should throw +FAIL Location's href: http://ho%3Est/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%3Est/ should throw +PASS URL's constructor's base argument: http://ho%3Fst/ should throw +PASS URL's href: http://ho%3Fst/ should throw +PASS XHR: http://ho%3Fst/ should throw +PASS sendBeacon(): http://ho%3Fst/ should throw +FAIL Location's href: http://ho%3Fst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%3Fst/ should throw +PASS URL's constructor's base argument: http://ho%40st/ should throw +PASS URL's href: http://ho%40st/ should throw +PASS XHR: http://ho%40st/ should throw +PASS sendBeacon(): http://ho%40st/ should throw +FAIL Location's href: http://ho%40st/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%40st/ should throw +PASS URL's constructor's base argument: http://ho%5Bst/ should throw +PASS URL's href: http://ho%5Bst/ should throw +PASS XHR: http://ho%5Bst/ should throw +PASS sendBeacon(): http://ho%5Bst/ should throw +FAIL Location's href: http://ho%5Bst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%5Bst/ should throw +PASS URL's constructor's base argument: http://ho%5Cst/ should throw +PASS URL's href: http://ho%5Cst/ should throw +PASS XHR: http://ho%5Cst/ should throw +PASS sendBeacon(): http://ho%5Cst/ should throw +FAIL Location's href: http://ho%5Cst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%5Cst/ should throw +PASS URL's constructor's base argument: http://ho%5Dst/ should throw +PASS URL's href: http://ho%5Dst/ should throw +PASS XHR: http://ho%5Dst/ should throw +PASS sendBeacon(): http://ho%5Dst/ should throw +FAIL Location's href: http://ho%5Dst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%5Dst/ should throw +PASS URL's constructor's base argument: http://ho%7Cst/ should throw +PASS URL's href: http://ho%7Cst/ should throw +PASS XHR: http://ho%7Cst/ should throw +PASS sendBeacon(): http://ho%7Cst/ should throw +FAIL Location's href: http://ho%7Cst/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw +PASS window.open(): http://ho%7Cst/ should throw PASS URL's constructor's base argument: ftp://example.com%80/ should throw PASS URL's href: ftp://example.com%80/ should throw PASS XHR: ftp://example.com%80/ should throw @@ -426,22 +482,10 @@ FAIL Location's href: http://[::127.0.0.0.1] should throw assert_throws_js: func PASS window.open(): http://[::127.0.0.0.1] should throw PASS URL's constructor's base argument: a should throw PASS URL's href: a should throw -FAIL XHR: a should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): a should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: a should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): a should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: a/ should throw PASS URL's href: a/ should throw -FAIL XHR: a/ should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): a/ should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: a/ should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): a/ should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: a// should throw PASS URL's href: a// should throw -FAIL XHR: a// should throw assert_throws_dom: function "() => client.open("GET", test.input)" did not throw -FAIL sendBeacon(): a// should throw assert_throws_js: function "() => self.navigator.sendBeacon(test.input)" did not throw -FAIL Location's href: a// should throw assert_throws_js: function "() => self[0].location = test.input" did not throw -FAIL window.open(): a// should throw assert_throws_dom: function "() => self.open(test.input).close()" did not throw PASS URL's constructor's base argument: file://­/p should throw PASS URL's href: file://­/p should throw PASS XHR: file://­/p should throw