electron/spec/fixtures
Samuel Attard 58a6fe13d6
feat: preloads and nodeIntegration in iframes (#16425)
* 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
2019-01-22 11:24:46 -08:00
..
api feat: enable mixed-sandbox mode by default (#15894) 2019-01-22 10:44:28 -08:00
asar Make the asar-video test run faster 2017-12-02 11:30:57 +01:00
assets update spec with new asset 2017-03-14 00:26:27 +05:30
certificates
devtools-extensions chore: remove electabul (#15954) 2018-12-04 20:50:37 -08:00
module feat: add preload-error event to webContents (#16411) 2019-01-18 12:03:43 +01:00
native-addon/echo feat: Upgrade to Chromium 71.0.3578.98 (#15966) 2019-01-11 17:00:43 -08:00
pages feat: make zoomLevel/zoomFactor sync (#16410) 2019-01-20 23:40:27 -08:00
sub-frames feat: preloads and nodeIntegration in iframes (#16425) 2019-01-22 11:24:46 -08:00
workers refactor: add prefer-const to .eslintrc + fix errors (#14880) 2018-10-02 11:56:31 +10:00
zip
no-proprietary-codecs.js chore: make "nodeIntegration" and "webviewTag" default to false (#16235) 2019-01-07 22:19:27 +03:00
snapshot-items-available.js ci: add testing for mksnapshot (#15627) 2018-11-09 10:54:17 -04:00
testsnap.js ci: add testing for mksnapshot (#15627) 2018-11-09 10:54:17 -04:00