Open
Bug 1954851
Opened 1 month ago
TypeScript has an empty type for mozIDOMWindowProxy
Categories
(Developer Infrastructure :: Lint and Formatting, task, P3)
Developer Infrastructure
Lint and Formatting
Tracking
(Not tracked)
NEW
People
(Reporter: standard8, Unassigned)
References
(Blocks 1 open bug)
Details
Some of our code has this type of form:
let win = appWin.docShell.domWindow;
win.addEventListener(...)
appWin.docShell.domWindow
is a mozIDOMWindowProxy
.
mozIDOMWindowProxy
and mozIDOMWindow
are empty placeholder interfaces for XPIDL.
I think we should probably extend these from Window
and WindowProxy
, similar to nsIDOMWindow
, though I'm not sure if they're exactly the same or not.
You need to log in
before you can comment on or make changes to this bug.
Description
•