Remove Origin::unicode_serialization

Fixes #20701
This commit is contained in:
Bastien Orivel 2018-10-12 00:03:13 +02:00
parent 61fe737885
commit a97ba4f57d
7 changed files with 3 additions and 35 deletions

View file

@ -57,6 +57,6 @@ pub fn get_blob_origin(url: &ServoUrl) -> FileOrigin {
// NOTE: by default this is "null" (Opaque), which is not ideal
"file://".to_string()
} else {
url.origin().unicode_serialization()
url.origin().ascii_serialization()
}
}