Open Bug 1885991 Opened 1 year ago Updated 1 year ago

Improve `remoteType` capabilities to restrict to a specific origin

Categories

(Core :: IPC, enhancement)

enhancement

Tracking

()

People

(Reporter: tjr, Unassigned)

References

Details

In Bug 1885598 and in particular the abandoned D204789 I experimented with extending remoteType so you could say remoteType: ["webIsolated=https://addons.mozilla.org"]. That doesn't work right now, because we strip the actual remoteType to just its prefix.

The approach in D204789 is too naive though: because in the example above, it would not match when you were on not-e10s or not on Fission. A better approach would be to have it be more restrictive when it can be, but open up to matching when it can't.

As an additional note, for future purposes, we would want to make sure this works if we ever get to isolate-by-origin instead of isolate-by-site.

You need to log in before you can comment on or make changes to this bug.