diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-21 21:10:52 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2015-11-21 21:10:52 +0530 |
commit | ea690a2dff64d1cb4eb668473d62f1bbcb19f7c8 (patch) | |
tree | cf5804f921ef3b249cc41610b7a99d11663ebfbe /components/script/script_task.rs | |
parent | ec3437f4e30547884f9faaf153201fad6ab1173f (diff) | |
parent | f34da4120d475f7fd78a647fc246e5731e7de941 (diff) | |
download | servo-ea690a2dff64d1cb4eb668473d62f1bbcb19f7c8.tar.gz servo-ea690a2dff64d1cb4eb668473d62f1bbcb19f7c8.zip |
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 -->
Diffstat (limited to 'components/script/script_task.rs')
-rw-r--r-- | components/script/script_task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index 1f407ab940a..95e1c7f356f 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -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 { |