diff --git a/toolkit/components/ctypes/ctypes.cpp b/toolkit/components/ctypes/ctypes.cpp index 05c70e906af4..bf40ca30b1a3 100644 --- a/toolkit/components/ctypes/ctypes.cpp +++ b/toolkit/components/ctypes/ctypes.cpp @@ -107,9 +107,7 @@ InitAndSealCTypesClass(JSContext* cx, JS::Handle global) !SealObjectAndPrototype(cx, global, "Error")) return false; - // Finally, seal the global object, for good measure. (But not recursively; - // this breaks things.) - return JS_FreezeObject(cx, global); + return true; } NS_IMETHODIMP