mozilla / positron

a experimental, Electron-compatible runtime on top of Gecko
Other
561 stars 64 forks source link

enable mozbrowser API for specific origins #111

Closed mykmelez closed 7 years ago

mykmelez commented 7 years ago

@brendandahl This branch enables mozbrowser for specific origins instead of giving the system principal to all top-level docshell loads, per comments from @bz and @jryans in bug 1290272.

In theory, it should enable us to expose mozbrowser to BrowserWindow instances without giving them the system principal. But in practice, some of the code we load in BrowserWindow instances needs that principal in order to access Components, so we'd need to disentangle that code from the code that doesn't. So this isn't ready to land yet.

mykmelez commented 7 years ago

Work on this has stalled, so I'm going to close the pull request for now.