[wpt-sync] Sync PR 29510 - url/failure.html shouldn't expect failure when using valid relative U…
Categories
(Core :: DOM: Networking, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox92 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
|
118.24 KB,
text/plain
|
Details |
Sync web-platform-tests PR 29510 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/29510
Details from upstream follow.
b'Alex Christensen <achristensen@apple.com>' wrote:
url/failure.html shouldn't expect failure when using valid relative U…
url/failure.html shouldn't expect failure when using valid relative URLs as relative URLs
urltestdata.json contains several URLs like "http:/:@/www.example.com"
which, when parsed without a base URL or with a base URL like "about:blank"
result in a parsing failure, but which when parsed with a base URL that can
be a base URL like "http://wpt.live/url/failure.html" then they result in a valid
URL. The test used to verify that they would throw when given to APIs like
window.open, but this was incorrect because those APIs treat the input string
as a URL relative to the current document's URL. We were already filtering out
many of the tests from urltestdata.json. We need another filter.
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Updated•4 years ago
|
| Assignee | ||
Comment 1•4 years ago
|
||
| Assignee | ||
Comment 2•4 years ago
|
||
Comment 5•4 years ago
|
||
| bugherder | ||
Description
•