Browser API: implement iframe.reload()

This commit is contained in:
Paul Rouget 2015-12-08 04:39:37 +01:00
parent 9cccd34bc4
commit 2a86f9d165
6 changed files with 67 additions and 13 deletions

View file

@ -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 => {