[Webkit-unassigned] [Bug 235322] Adding iframe flushes microtasks synchronously with dirty stack

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 18 13:20:46 PST 2022


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

--- Comment #1 from Jason Miller <jason at developit.ca> ---
I spent a bit of time checking various forms of this issue:
https://jsfiddle.net/developit/u6xztc93/

I was able to narrow the issue down:

- microtasks are only flushed in the realm of the frame's ownerDocument.
- flush is *not* triggered for sandboxed iframes.
- flush *is* triggered for cross-origin iframes.
    (presumably because it's not known to be cross-origin at append time)
- flush *is* triggered for iframes within <svg><foreignObject>.
- other elements (svg/img/video/object/embed) do not trigger flush.

-- 
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/20220118/25059201/attachment-0001.htm>


More information about the webkit-unassigned mailing list