Closed Bug 1402231 Opened 8 years ago Closed 8 years ago

Webextensions OOP: set focus in popup

Categories

(WebExtensions :: Frontend, defect)

57 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1324255

People

(Reporter: fess61, Unassigned)

Details

Attachments

(1 file)

Attached file popup-focus-tester.zip
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170918210324 Steps to reproduce: Version: 57.0b1, Build ID: 20170917031738, OS: Windows_NT 6.1 When extensions.webextensions.remote=false 1. Install popup-focus-tester.zip 2. Click a toolbar button. 3. "DOMContentLoaded" fires and call document.getElementById("filter").focus(); 4. Input (id="filter") will get focus. When extensions.webextensions.remote=true 1. Install popup-focus-tester.zip 2. Click a toolbar button. 3. "DOMContentLoaded" fires and call document.getElementById("filter").focus(); 3. Input (id="filter") will not get focus. If press Tab - popup will get focus, one more Tab - input will get focus Actual results: When extensions.webextensions.remote=true, input (and popup itself) will not get focus. Expected results: Input (id="filter") should get focus.
Component: Untriaged → WebExtensions: Frontend
Product: Firefox → Toolkit
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: