diff options
author | Paul Rouget <me@paulrouget.com> | 2015-12-08 04:39:37 +0100 |
---|---|---|
committer | Paul Rouget <me@paulrouget.com> | 2015-12-08 04:40:16 +0100 |
commit | 2a86f9d165f2c6482fcbe093f3029f09ae2b1232 (patch) | |
tree | cbb325526db7f5a6dbdd058582075e60b9198743 /components/script/script_task.rs | |
parent | 9cccd34bc487f485c69dae71c5cd07ac8fabed4d (diff) | |
download | servo-2a86f9d165f2c6482fcbe093f3029f09ae2b1232.tar.gz servo-2a86f9d165f2c6482fcbe093f3029f09ae2b1232.zip |
Browser API: implement iframe.reload()
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 f0ea6bd1354..77cc03a53ac 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -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 => { |