Auto merge of #8622 - frewsxcv:url-plugin, r=SimonSapin

Implement 'url!(..)' macro

https://github.com/servo/rust-url/issues/136

https://github.com/servo/rust-url/pull/137

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8622)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-11-21 21:10:52 +05:30
commit ea690a2dff
30 changed files with 346 additions and 128 deletions

View file

@ -1969,7 +1969,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 {