Samuel Attard
0b85fb7ea2
Revert "feat: upgrade to Chromium 72.0.3626.52 ( #16334 )"
...
This reverts commit 1918e76913
.
2019-01-22 12:01:04 -08:00
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
Jeremy Apthorp
92b9525cfd
feat: enable mixed-sandbox mode by default ( #15894 )
2019-01-22 10:44:28 -08:00
Jeremy Apthorp
1918e76913
feat: upgrade to Chromium 72.0.3626.52 ( #16334 )
2019-01-22 10:39:32 -08:00
Samuel Attard
ff9b23ebe5
fix: dont run window-setup on chrome:// protocol, introduced in b965e54efc
( #16489 )
2019-01-22 10:32:18 -08:00
Electron Bot
cd25ddeb06
Bump v5.0.0-nightly.20190122
2019-01-22 08:55:08 -08:00
Shelley Vohr
7df531bc4e
build: fix release asset download for now ( #16486 )
2019-01-22 08:53:52 -08:00
Milan Burda
6cba2c50a2
feat: make ipc-message
and ipc-message-sync
events public ( #16468 )
2019-01-22 08:47:58 -08:00
Milan Burda
dbc5f67dca
docs: fix web-request.md listener signatures in electron.d.ts ( #16485 )
2019-01-22 08:46:40 -08:00
Milan Burda
7d71ad6f91
fix: takeHeapSnapshot() using public IPC channel for internal implementation ( #16480 )
2019-01-22 17:32:24 +09:00
Milan Burda
0e27f133d7
refactor: delete atom_api_renderer_ipc.h ( #16481 )
2019-01-21 22:31:37 -08:00
Milan Burda
b965e54efc
fix: <webview> not working with contextIsolation + sandbox ( #16469 )
2019-01-22 10:08:16 +09:00
Matthew Leffler
a9ac75c1f9
docs: Fix TouchBar API example ( #16482 )
2019-01-21 17:07:47 -08:00
Electron Bot
033efdcaa1
Bump v5.0.0-nightly.20190121
2019-01-21 15:28:16 -08:00
Shelley Vohr
51961fccfa
build: temporarily disable arm to unblock nightlies ( #16479 )
2019-01-21 15:22:56 -08:00
Cheng Zhao
ac65f38842
fix: prevent double-destroy of window ( #16472 )
2019-01-21 14:56:30 -08:00
Samuel Attard
0b0679e065
build: auto-fix linting issues on commit ( #16466 )
...
* build: auto-fix formatting during commit
* use lint-staged as precommit hook to autofix issues
2019-01-21 14:46:32 -08:00
Shelley Vohr
3ca87d205f
feat: make zoomLevel/zoomFactor sync ( #16410 )
...
* feat: make zoomLevel/zoomFactor sync
* update ts defs dep
2019-01-20 23:40:27 -08:00
Electron Bot
dacf7f8bdc
Revert "Bump v5.0.0-nightly.20190119"
...
This reverts commit 2cca0f9bb7
.
2019-01-19 21:14:06 -08:00
Electron Bot
2cca0f9bb7
Bump v5.0.0-nightly.20190119
2019-01-19 19:52:39 -08:00
Shelley Vohr
441c9ce376
feat: promisify desktopCapturer.getSources ( #16427 )
...
* feat: promisify desktopCapturer.getSources
* fix doc
* fix docs lint error
2019-01-18 15:29:32 -08:00
Electron Bot
902c239fdf
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 9e6726f304
.
2019-01-18 15:21:39 -08:00
Electron Bot
9e6726f304
Bump v5.0.0-nightly.20190118
2019-01-18 15:21:39 -08:00
Electron Bot
329d45562b
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 83b44b735f
.
2019-01-18 14:12:13 -08:00
Electron Bot
83b44b735f
Bump v5.0.0-nightly.20190118
2019-01-18 14:12:01 -08:00
Shelley Vohr
3417c42bfd
chore: always try to nuke tags ( #16451 )
2019-01-18 14:00:15 -08:00
Electron Bot
7f4064af16
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit ace11f9bc8
.
2019-01-18 13:42:51 -08:00
Electron Bot
ace11f9bc8
Bump v5.0.0-nightly.20190118
2019-01-18 13:42:51 -08:00
Electron Bot
cd91440e47
Revert "Bump v5.0.0-nightly.20190118"
...
This reverts commit 5e5c71e1d7
.
2019-01-18 12:46:16 -08:00
Electron Bot
5e5c71e1d7
Bump v5.0.0-nightly.20190118
2019-01-18 12:32:29 -08:00
Milan Burda
7d4a1223fd
feat: add preload-error
event to webContents
( #16411 )
2019-01-18 12:03:43 +01:00
Jeremy Apthorp
98d0daa2fd
chore: remove unused osfhandle hack ( #16305 )
2019-01-17 15:58:47 -08:00
Shelley Vohr
f105c84349
test: ensure legacy callback functions work ( #16436 )
...
* test: test legacy callback functions
* add TODO removal comments
* fix callback spec
2019-01-17 14:17:16 -08:00
Shelley Vohr
720197f9c8
fix: correctly handle IPC for promise-based methods ( #16433 )
2019-01-17 12:08:54 -08:00
Milan Burda
4d0b2ac9be
docs: fix promisification.md formatting ( #16434 )
2019-01-17 09:30:32 -08:00
Shelley Vohr
1f2b02c18f
feat: promisify protocol.isProtocolHandled() ( #16423 )
...
* feat: promisify protocol
* fix base::Bind and specs
* update documentation
* make callback-compatible
* async awaitify tests
2019-01-17 09:05:10 -08:00
Electron Bot
32d98851bc
Revert "Bump v5.0.0-nightly.20190116"
...
This reverts commit 82fc099602
.
2019-01-16 11:28:09 -08:00
Electron Bot
82fc099602
Bump v5.0.0-nightly.20190116
2019-01-16 11:04:22 -08:00
SamvelRaja
34c1727cb3
docs: fix typo in build instructions for windows ( #16414 )
2019-01-15 21:58:39 -08:00
Milan Burda
23d44e322d
feat: use default-app behavior in packaged apps ( #16310 )
...
Unify the behavior between default app and packaged apps:
- create default application menu unless the app has one
- default window-all-closed handling unless the app handles the event
2019-01-15 21:35:53 +01:00
Shelley Vohr
8e2ab8b20b
refactor: promise_util promise creation ( #16401 )
...
* refactor: promise_util creation
* enter correct contexts on resolve/reject
* return Local in helper
* set context correctly
* forgot one
2019-01-15 09:54:59 -08:00
Mosh Feu
05755ba202
docs: show the code of adding devtools extension ( #16186 )
2019-01-15 17:48:21 +09:00
Shelley Vohr
0881fd6397
feat: split openExternal into sync and async ( #16176 )
...
* feat: split openExternal into sync and async
* v8::Locker => mate::Locker
* fix: enter js env when resolving promise
2019-01-14 20:35:21 -08:00
Milan Burda
52e257668d
fix: windowmenu did not show the window list on macOS ( #16387 )
2019-01-14 17:27:52 +01:00
Shelley Vohr
df62e78b71
chore: remove unused deps ( #16373 )
2019-01-12 16:47:09 +01:00
Alex Garbutt
dcb670fa46
fix: emit IPC event in correct context if isolation and sandbox enabled ( #16352 )
...
* fix: emit IPC event in correct context if isolation and sandbox enabled
IPC events were not being delivered to renderer processes when both
`contextIsolation` and `sandbox` were enabled. This is because the
`AtomSandboxedRenderFrameObserver` class was incorrectly using the
`MainWorldScriptContext`, rather than conditionally selecting the
context based on if isolation was enabled.
Fixes #11922
2019-01-12 14:19:20 +01:00
Electron Bot
134792a594
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit 71f542d8f6
.
2019-01-11 21:40:55 -08:00
Electron Bot
71f542d8f6
Bump v5.0.0-nightly.20190111
2019-01-11 21:18:40 -08:00
Robo
52fe92d02e
feat: Upgrade to Chromium 71.0.3578.98 ( #15966 )
2019-01-11 17:00:43 -08:00
Electron Bot
92ddfd0d4c
Revert "Bump v5.0.0-nightly.20190111"
...
This reverts commit c81c9ee2b4
.
2019-01-11 12:35:25 -08:00