Auto merge of #23838 - servo:url-2.0, r=Manishearth

Update the url crate to 2.0

Blocked on:

* [x] https://github.com/housleyjk/ws-rs/pull/283 + undoing corresponding `[patch.crates-io]` entry

Soft-blocked on: (we could add to the crate duplication allow-list instead)

* [x] ~https://github.com/rust-windowing/winit/pull/1066~
  - [x] https://github.com/rust-windowing/winit/pull/1076
* [x] https://github.com/servo/media/pull/288
* [ ] https://github.com/servo/webrender/pull/3720
* [x] https://github.com/gobwas/influent.rs/pull/22
* [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540
  - [x] https://github.com/seanmonstar/warp/pull/260
  - [ ] https://github.com/abonander/multipart/pull/121

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23838)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-08-17 04:14:32 -04:00 committed by GitHub
commit 9bba14cb43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 96 additions and 362 deletions

View file

@ -1,5 +0,0 @@
[a-element-origin-xhtml.xhtml]
type: testharness
[Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL

View file

@ -1,4 +0,0 @@
[a-element-origin.html]
type: testharness
[Parsing origin: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL

View file

@ -42,9 +42,6 @@
[Parsing: <////x/> against <sc://x/>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
@ -132,15 +129,9 @@
[Parsing: <http://foo.bar/baz?qux#foo`bar> against <about:blank>]
expected: FAIL
[Parsing: <http://host/?'> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ#x> against <about:blank>]
expected: FAIL

View file

@ -42,9 +42,6 @@
[Parsing: <////x/> against <sc://x/>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
@ -132,15 +129,9 @@
[Parsing: <http://foo.bar/baz?qux#foo`bar> against <about:blank>]
expected: FAIL
[Parsing: <http://host/?'> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ#x> against <about:blank>]
expected: FAIL

View file

@ -1,191 +1,23 @@
[toascii.window.html]
type: testharness
[aa-- (using URL)]
expected: FAIL
[aa-- (using URL.host)]
expected: FAIL
[aa-- (using URL.hostname)]
expected: FAIL
[aa-- (using <a>)]
expected: FAIL
[aa-- (using <a>.host)]
expected: FAIL
[aa-- (using <a>.hostname)]
expected: FAIL
[aa-- (using <area>)]
expected: FAIL
[a†-- (using URL)]
expected: FAIL
[a†-- (using URL.host)]
expected: FAIL
[a†-- (using URL.hostname)]
expected: FAIL
[a†-- (using <a>)]
expected: FAIL
[a†-- (using <a>.host)]
expected: FAIL
[a†-- (using <a>.hostname)]
expected: FAIL
[a†-- (using <area>)]
expected: FAIL
[a†-- (using <area>.host)]
expected: FAIL
[a†-- (using <area>.hostname)]
expected: FAIL
[-x (using URL)]
expected: FAIL
[-x (using URL.host)]
expected: FAIL
[-x (using URL.hostname)]
expected: FAIL
[-x (using <a>)]
expected: FAIL
[-x (using <a>.host)]
expected: FAIL
[-x (using <a>.hostname)]
expected: FAIL
[-x (using <area>)]
expected: FAIL
[-† (using URL)]
expected: FAIL
[-† (using URL.host)]
expected: FAIL
[-† (using URL.hostname)]
expected: FAIL
[-† (using <a>)]
expected: FAIL
[-† (using <a>.host)]
expected: FAIL
[-† (using <a>.hostname)]
expected: FAIL
[-† (using <area>)]
expected: FAIL
[-† (using <area>.host)]
expected: FAIL
[-† (using <area>.hostname)]
expected: FAIL
[-x.xn--nxa (using URL)]
expected: FAIL
[-x.xn--nxa (using URL.host)]
expected: FAIL
[-x.xn--nxa (using URL.hostname)]
expected: FAIL
[-x.xn--nxa (using <a>)]
expected: FAIL
[-x.xn--nxa (using <a>.host)]
expected: FAIL
[-x.xn--nxa (using <a>.hostname)]
expected: FAIL
[-x.xn--nxa (using <area>)]
expected: FAIL
[-x.β (using URL)]
expected: FAIL
[-x.β (using URL.host)]
expected: FAIL
[-x.β (using URL.hostname)]
expected: FAIL
[-x.β (using <a>)]
expected: FAIL
[-x.β (using <a>.host)]
expected: FAIL
[-x.β (using <a>.hostname)]
expected: FAIL
[-x.β (using <area>)]
expected: FAIL
[-x.β (using <area>.host)]
expected: FAIL
[-x.β (using <area>.hostname)]
expected: FAIL
[x-.xn--nxa (using URL)]
expected: FAIL
[x-.xn--nxa (using URL.host)]
expected: FAIL
[x-.xn--nxa (using URL.hostname)]
expected: FAIL
[x-.xn--nxa (using <a>)]
expected: FAIL
[x-.xn--nxa (using <a>.host)]
expected: FAIL
[x-.xn--nxa (using <a>.hostname)]
expected: FAIL
[x-.xn--nxa (using <area>)]
expected: FAIL
[x-.β (using URL)]
expected: FAIL
[x-.β (using URL.host)]
expected: FAIL
[x-.β (using URL.hostname)]
expected: FAIL
[x-.β (using <a>)]
expected: FAIL
[x-.β (using <a>.host)]
expected: FAIL
[x-.β (using <a>.hostname)]
expected: FAIL
[x-.β (using <area>)]
expected: FAIL
[x-.β (using <area>.host)]
expected: FAIL
@ -291,54 +123,12 @@
[xn--a-yoc (using <area>.hostname)]
expected: FAIL
[ශ්‍රී (using URL)]
expected: FAIL
[ශ්‍රී (using URL.host)]
expected: FAIL
[ශ්‍රී (using URL.hostname)]
expected: FAIL
[ශ්‍රී (using <a>)]
expected: FAIL
[ශ්‍රී (using <a>.host)]
expected: FAIL
[ශ්‍රී (using <a>.hostname)]
expected: FAIL
[ශ්‍රී (using <area>)]
expected: FAIL
[ශ්‍රී (using <area>.host)]
expected: FAIL
[ශ්‍රී (using <area>.hostname)]
expected: FAIL
[نامه‌ای (using URL)]
expected: FAIL
[نامه‌ای (using URL.host)]
expected: FAIL
[نامه‌ای (using URL.hostname)]
expected: FAIL
[نامه‌ای (using <a>)]
expected: FAIL
[نامه‌ای (using <a>.host)]
expected: FAIL
[نامه‌ای (using <a>.hostname)]
expected: FAIL
[نامه‌ای (using <area>)]
expected: FAIL
[نامه‌ای (using <area>.host)]
expected: FAIL

View file

@ -42,9 +42,6 @@
[Parsing: <////x/> against <sc://x/>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <file:\\\\//> against <about:blank>]
expected: FAIL
@ -123,15 +120,9 @@
[Parsing: <http://foo.bar/baz?qux#foo`bar> against <about:blank>]
expected: FAIL
[Parsing: <http://host/?'> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ> against <about:blank>]
expected: FAIL
[Parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Parsing: <sc://ñ#x> against <about:blank>]
expected: FAIL

View file

@ -1,8 +0,0 @@
[url-origin.html]
type: testharness
[Origin parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL
[Origin parsing: <https://faß.ExAmPlE/> against <about:blank>]
expected: FAIL

View file

@ -663,12 +663,6 @@
[<area>: Setting <sc://x/>.host = 'ß']
expected: FAIL
[URL: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<a>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<area>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
@ -972,9 +966,6 @@
[<area>: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
expected: FAIL
[<a>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<a>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; nuls, tabs, and newlines are removed]
expected: FAIL
@ -1038,9 +1029,6 @@
[<area>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; nuls, tabs, and newlines are removed]
expected: FAIL
[URL: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
expected: FAIL
[<area>: Setting <ssh://me@example.net>.protocol = 'http' Cant switch from non-special scheme to special]
expected: FAIL