forked from mirrors/gecko-dev
Bug 1881890 - Part 2: Add TODO comment for JSM process/window actor removal. r=Standard8 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D202647
This commit is contained in:
parent
42b217f9eb
commit
bcb56eca84
3 changed files with 8 additions and 0 deletions
|
|
@ -74,6 +74,9 @@ dictionary ProcessActorSidedOptions {
|
|||
*
|
||||
* If neither this nor `esModuleURI` is passed, the specified side cannot receive
|
||||
* messages, but may send them using `sendAsyncMessage` or `sendQuery`.
|
||||
*
|
||||
* TODO: Remove this once m-c, c-c, and out-of-tree code migrations finish
|
||||
* (bug 1866732).
|
||||
*/
|
||||
ByteString moduleURI;
|
||||
|
||||
|
|
|
|||
|
|
@ -132,6 +132,9 @@ dictionary WindowActorSidedOptions {
|
|||
*
|
||||
* If neither this nor `esModuleURI` is passed, the specified side cannot receive
|
||||
* messages, but may send them using `sendAsyncMessage` or `sendQuery`.
|
||||
*
|
||||
* TODO: Remove this once m-c, c-c, and out-of-tree code migrations finish
|
||||
* (bug 1866732).
|
||||
*/
|
||||
ByteString moduleURI;
|
||||
|
||||
|
|
|
|||
|
|
@ -76,6 +76,8 @@ already_AddRefed<JSActor> JSActorManager::GetActor(JSContext* aCx,
|
|||
if (side.mModuleURI || side.mESModuleURI) {
|
||||
JS::Rooted<JSObject*> exports(aCx);
|
||||
if (side.mModuleURI) {
|
||||
// TODO: Remove this once m-c, c-c, and out-of-tree code migrations finish
|
||||
// (bug 1866732).
|
||||
JS::Rooted<JSObject*> global(aCx);
|
||||
aRv = loader->Import(aCx, side.mModuleURI.ref(), &global, &exports);
|
||||
if (aRv.Failed()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue