[Webkit-unassigned] [Bug 21413] DOMWindow.cpp DOMWindow::moveTo offsets moves by 22 (menu bar height)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 19 10:31:37 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=21413
--- Comment #5 from Alexey Proskuryakov <ap at webkit.org> ---
As documented in <https://developer.mozilla.org/en-US/docs/Web/API/Window/moveTo>, Firefox only performs a moveTo if the window was created by window.open().
Looking at allowedToChangeWindowGeometry(), WebKit appears to have a different policy, it blocks moveTo if invoked from a mouse event handler. It also needs to be the main frame, not a subframe.
The test needs to be adjusted accordingly to verify if this is still an issue.
--
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/20220819/8a49377c/attachment.htm>
More information about the webkit-unassigned
mailing list