Closed
Bug 1478434
Opened 7 years ago
Closed 7 years ago
Move focus-related properties and methods off of nsIDOMXULCommandDispatcher
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: bgrins, Unassigned)
References
Details
As best as I can tell, the following properties and methods can be moved off of document.commandDispatcher, and callers can be migrated to directly use existing `Services.focus` APIs
Specifically (https://searchfox.org/mozilla-central/rev/bdfd20ef30d521b57d5b6feeda71325e8b4cad66/dom/interfaces/xul/nsIDOMXULCommandDispatcher.idl#17-18,30-32):
attribute Element focusedElement;
attribute mozIDOMWindowProxy focusedWindow;
void advanceFocus();
void rewindFocus();
void advanceFocusIntoSubtree(in Element elt);
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Comment 1•7 years ago
|
||
The main purpose here was to trim down the amount of document.commandDispatcher access in the chrome. Given that Bug 1481286 exposed commandDispatcher to all chrome documents this isn't necessary anymore, so I'm going to close this.
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•