Privatize Window

This commit is contained in:
Tim Taubert 2014-10-13 00:06:48 +02:00
parent 8825296869
commit da7590d108
9 changed files with 57 additions and 25 deletions

View file

@ -218,8 +218,8 @@ impl<'a> HTMLFormElementHelpers for JSRef<'a, HTMLFormElement> {
}
// This is wrong. https://html.spec.whatwg.org/multipage/forms.html#planned-navigation
let ScriptChan(ref script_chan) = win.script_chan;
script_chan.send(TriggerLoadMsg(win.page.id, load_data));
let ScriptChan(ref script_chan) = *win.script_chan();
script_chan.send(TriggerLoadMsg(win.page().id, load_data));
}
fn get_form_dataset(self, _submitter: Option<FormSubmitter>) -> Vec<FormDatum> {