Open Bug 1327073 Opened 7 years ago Updated 2 years ago

View source tab steals focus from another window when it loads

Categories

(Core :: DOM: UI Events & Focus Handling, defect, P5)

defect

Tracking

()

Tracking Status
firefox50 --- affected
firefox51 --- affected
firefox52 --- affected
firefox53 --- affected

People

(Reporter: arni2033, Unassigned)

Details

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
0. Open new Firefox window
1. Copy "view-source:https://www.youtube.com/" to clipboard
2. Open new tab in the window from Step 1, press Ctrl+V to paste url to clipboard
3. Press Enter, then immediately press Alt+Tab (and release Alt) to switch to another Firefox window

AR:  When tab from Step 2 loads, the window from Step 1 becomes focused
ER:  The browser shouldn't steal focus from another window, because:
     it knows that I switched between windows AFTER I navigated to that url
No longer blocks: 1277113
User Agent 	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0
Build ID 	20170119030211

The issue is reproducible on the latest Firefox release (50.1.0) and on the latest Nightly (53.0a1).
Component: Untriaged → Event Handling
Product: Firefox → Core
I wasn't able to reproduce on the latest Firefox release (50.1.0) on Mac.
Actually, I WAS able to reproduce to reproduce it by clicking on a different window.
Priority: -- → P5
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.