mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Check the result of JS_Init.
This commit is contained in:
parent
be9d60664d
commit
24f6122073
1 changed files with 1 additions and 1 deletions
|
@ -90,6 +90,6 @@ mod webdriver_handlers;
|
|||
#[allow(unsafe_code)]
|
||||
pub fn init() {
|
||||
unsafe {
|
||||
js::jsapi::JS_Init();
|
||||
assert_eq!(js::jsapi::JS_Init(), 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue