mirror of
https://github.com/servo/servo.git
synced 2025-07-22 14:53:49 +01: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
|
@ -124,7 +124,7 @@ impl HTMLIFrameElement {
|
|||
pub fn process_the_iframe_attributes(&self) {
|
||||
let url = match self.get_url() {
|
||||
Some(url) => url.clone(),
|
||||
None => Url::parse("about:blank").unwrap(),
|
||||
None => url!("about:blank"),
|
||||
};
|
||||
|
||||
self.navigate_child_browsing_context(url);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue