regression: (Re)loading a frame puts the window into foreground
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
People
(Reporter: bobwei9, Unassigned)
Details
(Keywords: regression)
Attachments
(1 file)
211 bytes,
text/html
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:85.0) Gecko/20100101 Firefox/85.0
Steps to reproduce:
Use Windows 10. (Does not reproduce on macOS.)
Create a page with contents:
<iframe name="test"></iframe>
<script>
setTimeout(function() {
window.frames.test.location.href="https://1.1.1.1";
}, 4000);
</script>
Open that page. Put another firefox window in front of the current window within 4 seconds. (e.g. by pressing ctrl+n)
Actual results:
The window with the iframe suddenly is moved into foreground as soon as the frame is loading.
Happens since Firefox 86.
Expected results:
The window should not have changed its relative order to other windows.
Ad. Also happens on macos … only realized now I had Firefox 85 there.
Comment 2•4 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Cocoa' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Comment 3•4 years ago
•
|
||
Moving to a cross-platform component since the issue is said to reproduce on all platforms.
Comment 4•4 years ago
|
||
Comment 5•4 years ago
|
||
Does this reproduce in a fresh profile? Could you try to find a regression range with mozregression? https://mozilla.github.io/mozregression/
Updated•4 years ago
|
Comment 6•4 years ago
|
||
I can reproduce this on macOS in Firefox 86 release but not on Nightly. I'll get the regression and fix ranges.
Comment 7•4 years ago
|
||
Found it.
Description
•