[`https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/src/vm/Exception.cpp#32`](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/src/vm/Exception.cpp#32) is currently asserting if we have an uncatchable exception. From [`MaybeSanitizeException`](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/xpconnect/src/ExportHelpers.cpp#287-294) it seems that instead we must tolerate an uncatchable exception. The [case is handled below](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/src/vm/Exception.cpp#35-37), so we believe the assertion should be just removed.
Bug 1778438 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
[`JS::GetPendingExceptionStack`](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/src/vm/Exception.cpp#32) is currently asserting if we have an uncatchable exception. From [`MaybeSanitizeException`](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/xpconnect/src/ExportHelpers.cpp#287-294) it seems that instead we must tolerate an uncatchable exception. The [case is handled below](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/src/vm/Exception.cpp#35-37), so we believe the assertion should be just removed.
[`JS::GetPendingExceptionStack`](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/src/vm/Exception.cpp#32) is currently asserting if we have an uncatchable exception. From [`MaybeSanitizeException`](https://searchfox.org/mozilla-central/rev/f816e52d85cdaf0be7c9e1d2297f833e9ef53e2e/js/xpconnect/src/ExportHelpers.cpp#287-294) it seems that instead we must tolerate an uncatchable exception.