[Webkit-unassigned] [Bug 218361] JS Promises in detached iframes do not settle

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 29 16:06:48 PDT 2020


https://bugs.webkit.org/show_bug.cgi?id=218361

Chris Dumez <cdumez at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|JavaScriptCore              |DOM

--- Comment #3 from Chris Dumez <cdumez at apple.com> ---
Looks like this is the source of the issue:

diff --git a/Source/WebCore/dom/Microtasks.cpp b/Source/WebCore/dom/Microtasks.cpp
index 2e4aa4b56c10..73cb09642adf 100644
--- a/Source/WebCore/dom/Microtasks.cpp
+++ b/Source/WebCore/dom/Microtasks.cpp
@@ -56,7 +56,7 @@ void MicrotaskQueue::performMicrotaskCheckpoint()
         Vector<std::unique_ptr<EventLoopTask>> queue = WTFMove(m_microtaskQueue);
         for (auto& task : queue) {
             auto* group = task->group();
-            if (!group || group->isStoppedPermanently())
+            if (!group/* || group->isStoppedPermanently()*/)
                 continue;
             if (group->isSuspended())
                 toKeep.append(WTFMove(task));

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201029/7528fa39/attachment.htm>


More information about the webkit-unassigned mailing list