mirror of
https://github.com/servo/servo.git
synced 2025-08-18 20:05:34 +01:00
Urlmageddon: Use refcounted urls more often.
This commit is contained in:
parent
f14e7339b5
commit
913c874cb5
161 changed files with 1044 additions and 718 deletions
|
@ -3,10 +3,10 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
use net::test::resolve_chrome_url;
|
||||
use url::Url;
|
||||
use servo_url::ServoUrl;
|
||||
|
||||
fn c(s: &str) -> Result<Url, ()> {
|
||||
resolve_chrome_url(&Url::parse(s).unwrap())
|
||||
fn c(s: &str) -> Result<ServoUrl, ()> {
|
||||
resolve_chrome_url(&ServoUrl::parse(s).unwrap())
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue