Skip to content

Commit

Permalink
Update URL test expectations
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=172337

LayoutTests/imported/w3c:

* web-platform-tests/url/failure-expected.txt:

LayoutTests:

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:



Canonical link: https://commits.webkit.org/239459@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@279646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
achristensen07 committed Jul 7, 2021
1 parent 9acc512 commit 67622a3
Show file tree
Hide file tree
Showing 4 changed files with 125 additions and 66 deletions.
10 changes: 10 additions & 0 deletions LayoutTests/ChangeLog
@@ -1,3 +1,13 @@
2021-07-07 Alex Christensen <achristensen@webkit.org>

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 <cdumez@apple.com>

SubtleCrypto should only be exposed to secure contexts
Expand Down
2 changes: 0 additions & 2 deletions LayoutTests/TestExpectations
Expand Up @@ -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 ]
Expand Down
7 changes: 7 additions & 0 deletions LayoutTests/imported/w3c/ChangeLog
@@ -1,3 +1,10 @@
2021-07-07 Alex Christensen <achristensen@webkit.org>

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 <commit-queue@webkit.org>

Unreviewed, reverting r279546, r279554, r279558 and r279567.
Expand Down
172 changes: 108 additions & 64 deletions LayoutTests/imported/w3c/web-platform-tests/url/failure-expected.txt
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 67622a3

Please sign in to comment.