JS-implemented WebIDL: deprecate usage of nsIDOMGlobalPropertyInitializer in favor of __init

NEW
Unassigned

Status

()

P3
normal
6 years ago
7 months ago

People

(Reporter: mccr8, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
Using bug 851178, it shouldn't be too hard to pass in window to an __init method.  For constructors, this will just be a matter of adding a window argument.  Then we can remove the init() stuff that uses nsIDOMGlobalPropertyInitializer.

The main annoyance will be that for navigator we don't have a ctor sitting around, so one will have to be synthesized.

The drawback will be that things on navigator will have to write __init() whether or not they care about window, but that seems like a small price to pay.
(Reporter)

Updated

6 years ago
Depends on: 851178
(Reporter)

Updated

2 years ago
Assignee: continuation → nobody

Updated

7 months ago
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.