[Webkit-unassigned] [Bug 228319] Geolocation API should callback with error if doc is not fully active

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 23 17:00:22 PDT 2021


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

--- Comment #2 from Chris Dumez <cdumez at apple.com> ---
There are quite a few issues causing the new test not to run, besides Geolocation issues:
- Lack of a <body> even though the test relies on document.body
- After re-adding the iframe to the document, it does:
```
document.body.appendChild(iframe);
    iframe.contentWindow.opener = window;
    await new Promise((resolve) =>
      window.addEventListener("load", resolve, { once: true })
    );
```

I think this should be:
```
document.body.appendChild(iframe);
    iframe.contentWindow.opener = window;
    await new Promise((resolve) =>
      iframe.addEventListener("load", resolve, { once: true })
    );
```

Why would the main frame's load event fire again?

-- 
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/20210824/11310e8f/attachment-0001.htm>


More information about the webkit-unassigned mailing list