mirror of
https://github.com/servo/servo.git
synced 2025-06-11 01:50:10 +00:00
Implement 'url!(..)' macro
https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137
This commit is contained in:
parent
0146751bb2
commit
f34da4120d
30 changed files with 346 additions and 128 deletions
|
@ -1967,7 +1967,7 @@ impl ScriptTask {
|
|||
};
|
||||
|
||||
if load_data.url.scheme == "javascript" {
|
||||
load_data.url = Url::parse("about:blank").unwrap();
|
||||
load_data.url = url!("about:blank");
|
||||
}
|
||||
|
||||
resource_task.send(ControlMsg::Load(NetLoadData {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue