mirror of
https://github.com/servo/servo.git
synced 2025-06-14 03:14:29 +00:00
Browser API: implement iframe.reload()
This commit is contained in:
parent
9cccd34bc4
commit
2a86f9d165
6 changed files with 67 additions and 13 deletions
|
@ -1943,7 +1943,7 @@ impl ScriptTask {
|
|||
doc.find_iframe(subpage_id)
|
||||
});
|
||||
if let Some(iframe) = iframe.r() {
|
||||
iframe.navigate_child_browsing_context(load_data.url);
|
||||
iframe.navigate_or_reload_child_browsing_context(Some(load_data.url));
|
||||
}
|
||||
}
|
||||
None => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue