mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Privatize Window
This commit is contained in:
parent
8825296869
commit
da7590d108
9 changed files with 57 additions and 25 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue