[nwjs/nw.js] e47e5f: fix WebSocket overwritten by Node in mixed-context mode (#8226)

0 views
Skip to first unread message

commits...@nwjs.io

unread,
Apr 25, 2026, 1:30:47 PM (yesterday) Apr 25
to node-we...@googlegroups.com, ro...@nwjs.io
Branch: refs/heads/main
Home: https://api.github.com/repos/nwjs/nw.js
Commit: e47e5fce69343a70f3b5a25bd7f68c7617fdb4a5
https://github.com/nwjs/nw.js/commit/e47e5fce69343a70f3b5a25bd7f68c7617fdb4a5
Author: Kevin Fan <k...@gnor.net>
Date: 2026-04-25 11:30:31 -0600 -0600

Changed paths:
M src/renderer/nw_extensions_renderer_hooks.cc

Log Message:
-----------
fix WebSocket overwritten by Node in mixed-context mode (#8226)

Pass --nw-mixed-context to Node when mixed-context is active, which
sets kNoBrowserGlobals to prevent Node from injecting WebSocket,
navigator, and other browser globals that conflict with the browser.


Reply all
Reply to author
Forward
0 new messages