Open Bug 1601610 Opened 5 years ago Updated 2 years ago

Clean up some schemas: Remove "unsupported" definitions

Categories

(WebExtensions :: General, task, P2)

task

Tracking

(Fission Milestone:Future)

Fission Milestone Future

People

(Reporter: robwu, Unassigned)

References

(Blocks 1 open bug)

Details

The extension schemas have many definitions that are copied from Chromium and marked as "unsupported".

I did some spot checking:

  • processId in webNavigation API is not needed to uniquely identify frames and was deprecated / stubbed in Chrome's webNavigation API during the implementation of site isolation support for extension APIs.
  • downloads.drag method was removed from Chrome due to security concerns. We have no reason to implement this method.

We should go through the schemas and remove unsupported values.

https://searchfox.org/mozilla-central/search?q=%22unsupported%22%3A&case=false&regexp=false&path=extensions/

Would be nice to reduce per-process memory overhead for Fission.

Priority: -- → P2

This bug was lurking in my head after the triage meeting. Lets be sure that isn't used for part of producing docs for mdn. I like a source of truth handy since MDN lags or sometimes misses some items. If we want to reduce memory, strip unwanted stuff out of the schema when we parse it in Firefox.

Blocks: 1687762

Tomislav says this bug doesn't need to block Fission MVP.

Fission Milestone: --- → Future
Depends on: 1764566
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.