diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-08 08:13:48 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-04-08 08:16:11 +0800 |
commit | ae19a0513ee353dbdee92de16fc7c1e83516a40f (patch) | |
tree | ca8bfa8e868c64e8d689357018e960647a633c9b | |
parent | c660c6f699d69dbf5adaaa833b78ce9a57affeff (diff) | |
download | uxp-ae19a0513ee353dbdee92de16fc7c1e83516a40f.tar.gz |
Issue #2197 - Follow-up: Remove GC debug assertion on sandbox
There's no way to access GC from here.
-rw-r--r-- | js/xpconnect/src/Sandbox.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/js/xpconnect/src/Sandbox.cpp b/js/xpconnect/src/Sandbox.cpp index 3c2145a1f7..a1d0292e76 100644 --- a/js/xpconnect/src/Sandbox.cpp +++ b/js/xpconnect/src/Sandbox.cpp @@ -348,8 +348,6 @@ static bool SandboxStructuredClone(JSContext* cx, unsigned argc, Value* vp) { return false; } - MOZ_ASSERT_IF(result.isGCThing(), - !JS::GCThingIsMarkedGray(result.toGCCellPtr())); args.rval().set(result); return true; } |