From 8f3badf88243c8c4db6eb389a619635dbdd01797 Mon Sep 17 00:00:00 2001 From: Moonchild Date: Sun, 29 Jan 2023 19:16:16 +0100 Subject: [PATCH] Issue #1382 - Remove incorrect assertion. Tag #2090 #2095 --- js/src/vm/NativeObject.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/js/src/vm/NativeObject.cpp b/js/src/vm/NativeObject.cpp index 7418d81edf..91b7cacb4d 100644 --- a/js/src/vm/NativeObject.cpp +++ b/js/src/vm/NativeObject.cpp @@ -1696,7 +1696,6 @@ js::NativeDefineDataProperty(JSContext* cx, Handle obj, HandleId // Off-thread callers should not get here: they must call this // function only with known-valid arguments. Populating a new // PlainObject with configurable properties is fine. - MOZ_ASSERT(!cx->isHelperThreadContext()); result.reportError(cx, obj, id); return false; }