Move focus-related properties and methods off of nsIDOMXULCommandDispatcher

RESOLVED WONTFIX

Status

()

enhancement
P3
normal
RESOLVED WONTFIX
9 months ago
a month ago

People

(Reporter: bgrins, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 months ago
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);
Priority: -- → P3
(Reporter)

Comment 1

9 months 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.
Status: NEW → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → WONTFIX
See Also: → 1481286
Component: DOM → DOM: Core & HTML
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.