Open Bug 1326804 Opened 7 years ago Updated 3 years ago

Focus goes to irrelevant element when I exit DOM fullscreen (steal focus)

Categories

(Core :: DOM: Events, defect, P5)

defect

Tracking

()

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug)

Details

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open url   data:text/html,<html onclick="this.requestFullscreen()"><input>
2. Click in input field on the page
3. Press Ctrl+F to open and focus findbar
4. Press Escape to exit DOM fullscreen mode

AR:  Input on the page is focused
ER:  Findbar should stay focused


STR_2:
1. Open url   data:text/html,<html onclick="this.requestFullscreen()"><input>
2. Click in input field on the page
3. Open devtools -> inspector, focus search field "Search HTML"
4. Press Escape to exit DOM fullscreen mode

AR:  Input on the page is focused
ER:  Search field "Search HTML" should stay focused
Blocks: dom-fullscreen-ui
No longer blocks: 1277113
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50.1.0, Build ID: 20161208153507

I have managed to reproduce this issue on latest Nightly (53.0a1) build and latest Aurora (52.0a2). 
On latest Firefox (50.1.0) release and latest Beta (51.0b13) build, after I clicked in the input filed nothing happened. The window does not enter in Fullscreen mode and I get a "TypeError: this.requestFullscreen is not a function" error in browser console.

However, I am assigning a component to this issue in order to involve the development team and get an opinion on this.
Component: Untriaged → DOM: Events
Product: Firefox → Core
Unprefixed Fullscreen API is not enabled on release and beta yet, so that's not surprising.
Priority: -- → P3

Bulk-downgrade of unassigned, untouched DOM/Storage bug's priority.

If you have reason to believe, this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: P3 → P5
You need to log in before you can comment on or make changes to this bug.