mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
make scripting_enabled
depend on a browsing context
This commit is contained in:
parent
fc1e4c8085
commit
0c92e19e84
1 changed files with 1 additions and 1 deletions
|
@ -1668,7 +1668,7 @@ impl Document {
|
|||
deferred_scripts: DOMRefCell::new(vec![]),
|
||||
asap_in_order_scripts_list: DOMRefCell::new(vec![]),
|
||||
asap_scripts_set: DOMRefCell::new(vec![]),
|
||||
scripting_enabled: Cell::new(true),
|
||||
scripting_enabled: Cell::new(browsing_context.is_some()),
|
||||
animation_frame_ident: Cell::new(0),
|
||||
animation_frame_list: DOMRefCell::new(BTreeMap::new()),
|
||||
loader: DOMRefCell::new(doc_loader),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue