Closed Bug 1478434 Opened 6 years ago Closed 6 years ago

Move focus-related properties and methods off of nsIDOMXULCommandDispatcher

Categories

(Core :: DOM: Core & HTML, enhancement, P3)

enhancement

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);
Priority: -- → P3
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
Closed: 6 years ago
Resolution: --- → WONTFIX
See Also: → 1481286
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.