diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-17 17:03:00 +0100 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-03-17 17:03:00 +0100 |
commit | b794d24326f48db217127185a98b9ead91977e21 (patch) | |
tree | 8e853258f0511932d83d7ddfa5be5cd12d94cf1b | |
parent | 9ecabc46eb6adb35610698dbbea25a0bb580cc9e (diff) | |
download | UXP-b794d24326f48db217127185a98b9ead91977e21.tar UXP-b794d24326f48db217127185a98b9ead91977e21.tar.gz UXP-b794d24326f48db217127185a98b9ead91977e21.tar.lz UXP-b794d24326f48db217127185a98b9ead91977e21.tar.xz UXP-b794d24326f48db217127185a98b9ead91977e21.zip |
Bug 1319952: Assertion failure: isNurseryAllocAllowed(), at js/src/gc/Allocator.cpp:79
-rw-r--r-- | js/src/jsexn.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/js/src/jsexn.cpp b/js/src/jsexn.cpp index d4dce39b0..9a8e364ed 100644 --- a/js/src/jsexn.cpp +++ b/js/src/jsexn.cpp @@ -537,7 +537,8 @@ ErrorObject::createConstructor(JSContext* cx, JSProtoKey key) return nullptr; ctor = NewFunctionWithProto(cx, Error, 1, JSFunction::NATIVE_CTOR, nullptr, - ClassName(key, cx), proto, gc::AllocKind::FUNCTION_EXTENDED); + ClassName(key, cx), proto, gc::AllocKind::FUNCTION_EXTENDED, + SingletonObject); } if (!ctor) |