mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
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
@ -74,6 +74,9 @@ dictionary ProcessActorSidedOptions {
|
|||||||
*
|
*
|
||||||
* If neither this nor `esModuleURI` is passed, the specified side cannot receive
|
* If neither this nor `esModuleURI` is passed, the specified side cannot receive
|
||||||
* messages, but may send them using `sendAsyncMessage` or `sendQuery`.
|
* 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;
|
ByteString moduleURI;
|
||||||
|
|
||||||
|
@ -132,6 +132,9 @@ dictionary WindowActorSidedOptions {
|
|||||||
*
|
*
|
||||||
* If neither this nor `esModuleURI` is passed, the specified side cannot receive
|
* If neither this nor `esModuleURI` is passed, the specified side cannot receive
|
||||||
* messages, but may send them using `sendAsyncMessage` or `sendQuery`.
|
* 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;
|
ByteString moduleURI;
|
||||||
|
|
||||||
|
@ -76,6 +76,8 @@ already_AddRefed<JSActor> JSActorManager::GetActor(JSContext* aCx,
|
|||||||
if (side.mModuleURI || side.mESModuleURI) {
|
if (side.mModuleURI || side.mESModuleURI) {
|
||||||
JS::Rooted<JSObject*> exports(aCx);
|
JS::Rooted<JSObject*> exports(aCx);
|
||||||
if (side.mModuleURI) {
|
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);
|
JS::Rooted<JSObject*> global(aCx);
|
||||||
aRv = loader->Import(aCx, side.mModuleURI.ref(), &global, &exports);
|
aRv = loader->Import(aCx, side.mModuleURI.ref(), &global, &exports);
|
||||||
if (aRv.Failed()) {
|
if (aRv.Failed()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user