summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2023-10-16 01:10:26 -0500
committerBrian Smith <brian@dbsoft.org>2023-10-16 01:10:26 -0500
commitd5020b69bd84b937de89b2aef5787bfdb4e37dac (patch)
tree400f71cb8caf9aa8eee4bd04c163f4f824976669 /dom
parent3b39358c842b88d3570b6817fc4f3fce8ee97a70 (diff)
downloaduxp-d5020b69bd84b937de89b2aef5787bfdb4e37dac.tar.gz
Issue #1442 Follow-up: Stop pretending proxies have a JSNative call/construct hook.
https://bugzilla.mozilla.org/show_bug.cgi?id=1471924 Part 1 Also remove an erroneous debug assert and guard against future issues. This fixes crashes on vk.com but still does not behave correctly.
Diffstat (limited to 'dom')
-rw-r--r--dom/workers/WorkerPrivate.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/dom/workers/WorkerPrivate.cpp b/dom/workers/WorkerPrivate.cpp
index 3b3de7e3b5..51ab67f708 100644
--- a/dom/workers/WorkerPrivate.cpp
+++ b/dom/workers/WorkerPrivate.cpp
@@ -6226,8 +6226,6 @@ WorkerPrivate::RunExpiredTimeouts(JSContext* aCx)
// Guard against recursion.
mRunningExpiredTimeouts = true;
- MOZ_DIAGNOSTIC_ASSERT(data->mCurrentTimerNestingLevel == 0);
-
// Run expired timeouts.
for (uint32_t index = 0; index < expiredTimeouts.Length(); index++) {
TimeoutInfo*& info = expiredTimeouts[index];