mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
script creates methods taking '*mut JSContext' unsafe
rebase + marked the necessary new code as unsafe
This commit is contained in:
parent
9fd6f0acd5
commit
b372e7c98f
28 changed files with 274 additions and 226 deletions
|
@ -173,11 +173,11 @@ pub fn init_service_workers(sw_senders: SWManagerSenders) {
|
|||
pub fn init() {
|
||||
unsafe {
|
||||
proxyhandler::init();
|
||||
}
|
||||
|
||||
// Create the global vtables used by the (generated) DOM
|
||||
// bindings to implement JS proxies.
|
||||
RegisterBindings::RegisterProxyHandlers();
|
||||
// Create the global vtables used by the (generated) DOM
|
||||
// bindings to implement JS proxies.
|
||||
RegisterBindings::RegisterProxyHandlers();
|
||||
}
|
||||
|
||||
perform_platform_specific_initialization();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue