aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 77ff99aab97..e5967d19ddd 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -158,7 +158,6 @@ fn perform_platform_specific_initialization() {}
#[allow(unsafe_code)]
pub fn init() {
unsafe {
- assert_eq!(js::jsapi::JS_Init(), true);
SetDOMProxyInformation(ptr::null(), 0, Some(script_thread::shadow_check_callback));
}