Open Bug 1387169 Opened 7 years ago Updated 6 months ago

Remove XPCOM interfaces that have WebIDL equivalents

Categories

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

enhancement

Tracking

()

People

(Reporter: qdot, Unassigned)

References

(Depends on 4 open bugs, Blocks 2 open bugs)

Details

With the deprecation of XPCOM based extensions happens in Firefox 57, we can remove XPCOM components that have equivalent WebIDL interfaces/implementations.

This cleanup will happen in 2 steps, based on timing.

- During the period before 57 moves to beta, we can gut XPIDL interfaces, which will remove a good bit of code both generated and hand-written. This can be done as cleanup while working on other bugs that may touch code near the interfaces.
- After 57 moves to beta (2017-09-20 according to https://wiki.mozilla.org/RapidRelease/Calendar), we can be sure that no extensions will be using the interfaces, and can remove them completely from chrome js and kComponentsInterfaceShimMap.
Depends on: 1381615, 1380415
Note: the things appearing in kInterfaceShimMap may need telemetry to remove, so we should think about adding such telemetry...
(In reply to Boris Zbarsky [:bz] from comment #1)
> Note: the things appearing in kInterfaceShimMap may need telemetry to
> remove, so we should think about adding such telemetry...

Filed as bug 1387178
No longer blocks: 1387184
Depends on: 1387184
(In reply to Kyle Machulis [:qdot] [:kmachulis]  (if a patch has no decent commit message, automatic r-) from comment #0)
> - After 57 moves to beta (2017-09-20 according to
> https://wiki.mozilla.org/RapidRelease/Calendar), we can be sure that no
> extensions will be using the interfaces, and can remove them completely from
> chrome js and kComponentsInterfaceShimMap.

Why do we have to wait until 57 moves to beta?
Depends on: 1390209
Priority: -- → P2
Depends on: 792808
No longer depends on: 1404079
Gonna assume that dependency removal was accidental?
Um, yes, sorry about that :S  I'm not sure how I managed to do that.
No longer depends on: 1405162
Depends on: 1431846
Depends on: 1431964
Depends on: 1434399
Depends on: 1434641
Depends on: 1434819
Depends on: 1436508
Depends on: 1436864
Depends on: 1436865
Depends on: 1436869
Depends on: 1437135
Depends on: 830221
Depends on: 1438024
Depends on: 1438270
Depends on: 1438956
No longer blocks: 1418078
Depends on: 1418078
Depends on: 1440039
Depends on: 1440441
Depends on: 1387143
Depends on: 1445408
Depends on: 1446515
Depends on: 1446527
Depends on: 1445417
Depends on: 1444686
Depends on: 1433566
Depends on: 1446533
Depends on: 1446708
Depends on: 1446709
Depends on: 1446710
Depends on: 1446711
Depends on: 1377980
Depends on: 1446850
Depends on: 1446851
Depends on: 1447389
Depends on: 1447472
Depends on: 1450418
Depends on: 1450421
Depends on: 1450422
Depends on: 1452010
Depends on: 1452183
Depends on: 1452185
Depends on: 1452235
Depends on: 1452321
Depends on: 1452329
Blocks: 1452353
No longer blocks: 1452353
Depends on: 1452353
Depends on: 1453215
Depends on: 1453869
Depends on: 1455052
Depends on: 1455674
Depends on: 1455676
Depends on: 1460735
Depends on: 1462964
Depends on: 1463015
Depends on: 1463016
Depends on: 1475065
Assignee: kyle → nobody
Severity: normal → S3
Depends on: 1863487
You need to log in before you can comment on or make changes to this bug.