Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upfix: do not register the node ESM loader in renderer processes #24301
Conversation
|
Is it possible to add test for this change ? |
|
@deepak1556 and @MarshallOfSound i think yes - we added the sandbox change to ARM to account for this here, so we should be able to remove it now. If it fails, we know this didn't have the intended effect. |
|
Failing vanilla node tests are related. |
|
oh boy missed those - i think we'll need to ensure it's enabled in run as node mode @MarshallOfSound |
|
@MarshallOfSound can you rebase this against the accepted upstream solution: nodejs/node#34060 |
d8be385
into
master
|
No Release Notes |


Only one ESM loader can be registered per isolate, in renderer processes this should be blink. This patches node so that it won't register its handler (overriding blinks) in non-browser processes.
Notes: no-notes