mirror of
https://github.com/servo/servo.git
synced 2025-10-05 19:19:25 +01:00
Store proxy handlers in a static array rather than a hashtable per window.
This commit is contained in:
parent
f47b66b0c1
commit
fd167f8922
4 changed files with 85 additions and 38 deletions
|
@ -549,8 +549,7 @@ impl ScriptTask {
|
|||
window.deref().init_browser_context(&*document);
|
||||
|
||||
with_compartment((**cx).ptr, window.reflector().get_jsobject(), || {
|
||||
let mut js_info = page.mut_js_info();
|
||||
RegisterBindings::Register(&*window, js_info.get_mut_ref());
|
||||
RegisterBindings::Register(&*window);
|
||||
});
|
||||
|
||||
self.compositor.set_ready_state(Loading);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue