[Webkit-unassigned] [Bug 253868] REGRESSION(261559 at main) [Win] js/ShadowRealm-iframe-detach.html is randomly timing out

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 15 19:21:36 PDT 2023


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

--- Comment #3 from Fujii Hironori <Hironori.Fujii at sony.com> ---
If I keep 'realm' in the 'window' object, the timeout problem doesn't happen. The realm is garbage collected!?

diff --git a/LayoutTests/js/ShadowRealm-iframe-detach.html b/LayoutTests/js/ShadowRealm-iframe-detach.html
index d4651f0897d2..1c0e3721705b 100644
--- a/LayoutTests/js/ShadowRealm-iframe-detach.html
+++ b/LayoutTests/js/ShadowRealm-iframe-detach.html
@@ -22,6 +22,7 @@
  frame.onload = async () => {
      debug(frame);
      let realm = frame.realm;
+     window.xxx = realm;
      debug("detaching iframe");
      document.getElementsByTagName("iframe")[0].remove()
      $vm.gc();

-- 
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/20230316/fccf224c/attachment.htm>


More information about the webkit-unassigned mailing list