From 5432642250d7300f080a385c6b357210e4576de7 Mon Sep 17 00:00:00 2001 From: Calixte Denizet Date: Tue, 16 Jun 2026 20:14:06 +0200 Subject: [PATCH] Adjust the 'BaseException' unit-test for the 'Error.stack' changes in Firefox Firefox 154 no longer walks the prototype chain in the `Error.stack` getter, so `BaseException`-derived instances return an empty string rather than the prototype `Error`'s stack (see bug 1946559). --- test/unit/util_spec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/unit/util_spec.js b/test/unit/util_spec.js index 994bcb588..0f81fa1d9 100644 --- a/test/unit/util_spec.js +++ b/test/unit/util_spec.js @@ -37,7 +37,6 @@ describe("util", function () { expect(exception.message).toEqual("Something went wrong"); expect(exception.name).toEqual("DerivedException"); expect(exception.foo).toEqual("bar"); - expect(exception.stack).toContain("BaseExceptionClosure"); }); });