58a6fe13d6
* feat: add support for node / preloads in subframes This feature has delibrately been built / implemented in such a way that it has minimum impact on existing apps / code-paths. Without enabling the new "nodeSupportInSubFrames" option basically none of this new code will be hit. The things that I believe need extra scrutiny are: * Introduction of `event.reply` for IPC events and usage of `event.reply` instead of `event.sender.send()` * Usage of `node::FreeEnvironment(env)` when the new option is enabled in order to avoid memory leaks. I have tested this quite a bit and haven't managed to cause a crash but it is still feature flagged behind the "nodeSupportInSubFrames" flag to avoid potential impact. Closes #10569 Closes #10401 Closes #11868 Closes #12505 Closes #14035 * feat: add support preloads in subframes for sandboxed renderers * spec: add tests for new nodeSupportInSubFrames option * spec: fix specs for .reply and ._replyInternal for internal messages * chore: revert change to use flag instead of environment set size * chore: clean up subframe impl * chore: apply suggestions from code review Co-Authored-By: MarshallOfSound <samuel.r.attard@gmail.com> * chore: clean up reply usage * chore: fix TS docs generation * chore: cleanup after rebase * chore: rename wrap to add in event fns |
||
---|---|---|
.. | ||
api | ||
asar | ||
crash_reporter | ||
mac | ||
native_mate_converters | ||
resources/mac | ||
application_info.cc | ||
application_info.h | ||
application_info_linux.cc | ||
application_info_mac.mm | ||
application_info_win.cc | ||
atom_command_line.cc | ||
atom_command_line.h | ||
atom_constants.cc | ||
atom_constants.h | ||
atom_version.h | ||
color_util.cc | ||
color_util.h | ||
common_message_generator.cc | ||
common_message_generator.h | ||
draggable_region.cc | ||
draggable_region.h | ||
heap_snapshot.cc | ||
heap_snapshot.h | ||
key_weak_map.h | ||
keyboard_util.cc | ||
keyboard_util.h | ||
mouse_util.cc | ||
mouse_util.h | ||
node_bindings.cc | ||
node_bindings.h | ||
node_bindings_linux.cc | ||
node_bindings_linux.h | ||
node_bindings_mac.cc | ||
node_bindings_mac.h | ||
node_bindings_win.cc | ||
node_bindings_win.h | ||
node_includes.h | ||
options_switches.cc | ||
options_switches.h | ||
platform_util.h | ||
platform_util_linux.cc | ||
platform_util_mac.mm | ||
platform_util_win.cc | ||
promise_util.cc | ||
promise_util.h |