Closed Bug 1177366 Opened 10 years ago Closed 9 years ago

Clicking on an embedded flash movie can disable keyboard in all tabs

Categories

(Core Graveyard :: Plug-ins, defect)

38 Branch
Unspecified
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: saif7463, Unassigned)

Details

Attachments

(2 files)

Attached file kbd-lock.html
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Firefox/38.0 Build ID: 20150525141253 Steps to reproduce: 1. I created a div that has tabindex=-1 that is given focus when any another element is given focus (using event capturing), and placed a flash movie (it doesn't have to even be an actual swf) next to it. 2. I then clicked on the flash object. Demo: http://output.jsbin.com/luvaqoveje/1/ (also attached) Actual results: I can no longer type in the address bar, the search bar, use any keyboard shortcuts, or type in the current tab or any tab that is in the same window. This happens in 38, but not 36 I believe. Practically, I ran into this bug when using ZeroClipboard inside a Twitter Bootstrap modals (that has the the focus behavior) . Expected results: The keyboard should still work everywhere.
Ignore the jsbin demo link... it reverts to the iframed version which doesn't seem to render the Flash object, but https://bugzilla.mozilla.org/attachment.cgi?id=8626083 seems to showcase the issue fine. It seems that I can also reproduce this with an input/textarea (besides the more complex div[tabindex=-1] repro), so it seems it is just related to giving another DOM node focus.
Same issue inside the Bootstrap Modal. Works well outside. Also using ZeroClipboard. Had this issue with FireFox 39 and 40.
OS: Unspecified → Mac OS X
Hi Saif, Try updating to the newest version of Firefox. Can you still encounter the issue? Thanks.
Flags: needinfo?(saif7463)
Component: Untriaged → Plug-ins
Product: Firefox → Core
Still happens in Firefox 42
Flags: needinfo?(saif7463)
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: