Open Bug 884950 Opened 11 years ago Updated 2 years ago

Fullscreen is denied if a confirmation dialog is presented.

Categories

(Core :: DOM: Core & HTML, defect, P5)

10 Branch
x86
All
defect

Tracking

()

People

(Reporter: novaoblivion, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/536.30.1 (KHTML, like Gecko) Version/6.0.5 Safari/536.30.1

Steps to reproduce:

We are binding a fullscreen request to the click event on an element on the page. Before the fullscreen is fired, a confirm box is shown. If you click ok then the browser should enter fullscreen.


Actual results:

If you wait more than a second to click the ok button on the confirmation dialog, Firefox says: "Request for full-screen was denied because Element.mozRequestFullScreen() was not called from 
inside a short running user-generated event handler."


Expected results:

I would expect that fullscreen would be initiated after the user clicks ok in the confirmation dialog.
Thanks for reporting Wylan.
Can you provide a minimal test case to better understand and reproduce the problem?
Flags: needinfo?(novaoblivion)
Attached file testcase
I think this behavior was introduced Bug 684627
Blocks: 684627
Component: Untriaged → DOM
Product: Firefox → Core
I think the timer of Bug 684627 should be stopped while window.prompt(confirm) is opened.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Version: 21 Branch → 10 Branch
I got side tracked at work, but I can provide a test case this evening if needed :)
The attachment added by Alice does seem to reproduce the problem correctly.
Flags: needinfo?(novaoblivion)
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: