mirror of
https://github.com/servo/servo.git
synced 2025-08-02 04:00:32 +01:00
added wrapper selection and subsumes logic
This commit is contained in:
parent
9151b4b751
commit
3577d1ff94
2 changed files with 102 additions and 8 deletions
|
@ -141,7 +141,9 @@ pub unsafe fn create_global_object(
|
|||
|
||||
let x = private.clone() as *const Window;
|
||||
let obj = &*x;
|
||||
let mut principal = CreateServoJSPrincipal(Box::into_raw(obj.origin()) as *const ::libc::c_void);
|
||||
let mut principal = CreateServoJSPrincipal(Box::into_raw(obj.origin()) as *const ::libc::c_void,
|
||||
None,
|
||||
None);
|
||||
|
||||
rval.set(JS_NewGlobalObject(cx,
|
||||
class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue