Nitish Sakhawalkar
e90c281ef3
fix: Windows Background color issue ( #14561 )
...
Call InvalidateRect for windows after setting the bg color
2018-09-12 13:41:47 -07:00
Robo
e860748d6b
fix: Invalidate weak ptrs before window Javascript object is destroyed ( #14532 )
...
* fix: Invalidate weak ptrs before window Javascript object is destroyed
* chore: add regression test for #14513
This test is similar to the original gist at https://gist.github.com/bpasero/a02a645e11f4946dcca1331d0299149d -- the key is to open multiple windows and add an `app.on('browser-window-focus') listener that accesses window.id.
* fix: last commit didn't test the right thing.
The test needs to run in the main process to reproduce the
conditions reported in #14513
2018-09-12 13:58:04 -05:00
Robo
2cd03bf360
build: remove duplicate devtools sources ( #14522 )
...
* build: remove duplicate devtools sources
* build: create separate target for chrome sources
* Move sources that are always depended on by electron,
starting with security_state_tab_helper.{cc|h}
* Add //component/strings to pak for devtools security tab
* fix: allow specifying type of the added filesystem.
https://chromium-review.googlesource.com/c/chromium/src/+/729250
* fix: do not index excluded folders
https://chromium-review.googlesource.com/c/chromium/src/+/972579
2018-09-12 08:45:08 -05:00
Robo
f76a8c7b24
build: [m67] enable widevine support ( #14519 )
...
* build: [m67] enable widevine support
* fix: remove plugin cache reset hack
It was added in (#8907 ) to make widevine cdm shows up in
navigator.plugins, since widevine support is no longer
enabled by a plugin it can be removed safely.
2018-09-11 20:24:04 +02:00
deepak1556
ba0a1cc5e9
build: guard widevine related code behind flag
2018-09-11 20:24:04 +02:00
Jeremy Apthorp
829b230b85
fix: initialize tracing controller before starting platform ( #14499 )
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
7589555cec
inspector: stop dragging platform pointer
...
https://github.com/nodejs/node/commit/296fd57324
2018-09-11 20:24:03 +02:00
Aleksei Kuzmin
9f6cf9623c
chore: fix a chromium-style error
...
osr_render_widget_host_view.cc:1150:12:
error: [chromium-style] auto variable type must not deduce to a raw pointer type.
(cherry picked from commit cc8e4ef68376627d20377ae3491df8e4f8dee08e)
2018-09-11 20:24:03 +02:00
Heilig Benedek
1a9e253259
fix: fix osr compilation on Windows
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
9a296fc63e
Fix code triggering new -Wmicrosoft-cast warning in M67
2018-09-11 20:24:03 +02:00
Jeremy Apthorp
5b25c2db5d
Need new #include for base::UTF8ToUTF16
2018-09-11 20:24:03 +02:00
deepak1556
63006aebe8
REVIEW: Delete WidgetDelegate before widget is destroyed.
...
Ideally widget delegates must outlive their widget, but since
we manage the lifetime of native widget, allow the delegate to
be destroyed when widget is destroyed.
https://chromium-review.googlesource.com/c/chromium/src/+/977244
2018-09-11 20:24:03 +02:00
deepak1556
9264a00dfd
Simplify EnsureProcessTerminated() implementations.
...
https://chromium-review.googlesource.com/c/chromium/src/+/920799
2018-09-11 20:24:03 +02:00
deepak1556
8da2bd43b8
Include the node header at the end to avoid collisions
2018-09-11 20:24:03 +02:00
Samuel Attard
0b2b44becf
Handle unknown symbols for media:: method
...
small implementation so instead of exposing with patch, copy impl
This will be fixed once we remove chromium_src as a thing from e/e
2018-09-11 20:24:03 +02:00
Samuel Attard
dc5c49ea7f
SetUserAgentOverride now takes a 2nd override_for_new_tabs argument
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/846713
2018-09-11 20:24:03 +02:00
Samuel Attard
6e2bb728b9
Replace ProxyConfigSource with ProxyConfigWithAnnotation.
...
https://chromium-review.googlesource.com/c/chromium/src/+/934126
2018-09-11 20:24:03 +02:00
Samuel Attard
a0a4c7b82c
Implement GetPermissionStatusForFrame in AtomPermissionManager
...
Implenation and requirement comes from CR: https://chromium-review.googlesource.com/c/chromium/src/+/940744
2018-09-11 20:24:03 +02:00
Samuel Attard
8a6fccf3d1
[GURL] (1 of 2) Prep for stripping "username:password" from internal schemes
...
https://chromium-review.googlesource.com/c/chromium/src/+/978450
2018-09-11 20:24:03 +02:00
Samuel Attard
aa6d769229
Handle external protocols with the network service.
...
https://chromium-review.googlesource.com/c/chromium/src/+/956091
2018-09-11 20:24:03 +02:00
Samuel Attard
dde194d853
Remove the memory property from getAppMetrics
...
See 03d0bfd593
for more information
2018-09-11 20:24:03 +02:00
Samuel Attard
14df89f214
Remove the 'getProcessMemoryInfo' API
...
* Underlying APIs have been removed in Chromium
* https://chromium-review.googlesource.com/c/chromium/src/+/969089
* https://chromium-review.googlesource.com/c/chromium/src/+/953723
* https://bugs.chromium.org/p/chromium/issues/detail?id=819289
* https://github.com/electron/electron/projects/11#card-11509601
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
833b55107d
Plumb the RenderFrameHost through for CheckMediaAccessPermission
...
https://chromium-review.googlesource.com/938862
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
ca28b39d9c
Rename buildflag_headers for consistency
...
https://chromium-review.googlesource.com/975990
https://chromium-review.googlesource.com/c/chromium/src/+/988132
2018-09-11 20:21:32 +02:00
deepak1556
d15d08bad6
Improve ClearOnExit behavior of cookies using domain matching
...
https://chromium-review.googlesource.com/c/chromium/src/+/975861
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
0afebdc531
The Great Blink mv for source files, part 2.
...
https://chromium-review.googlesource.com/1001153
2018-09-11 20:21:32 +02:00
Aleksei Kuzmin
7bd1b85d4e
Rename net/proxy_resolution/proxy_service* files
...
https://chromium-review.googlesource.com/941901
2018-09-11 20:21:31 +02:00
Aleksei Kuzmin
7c32524515
Use libcc based on Chromium 67.0.3396.99 and Node 10.6.0
2018-09-11 20:21:31 +02:00
Robo
14ed71fa1b
fix: use render client id to track deleted render process hosts ( #14520 )
...
* fix: use render client id to track deleted render process hosts
Instead of relying on OS process id, which may not be unique
when a process is reused, we rely on the renderer client id
passed by the content layer when starting the renderer process
which is guaranteed to be unique for the lifetime of the app.
* fix: store context id as int64_t
Ensuring that it doesn't wrap easily with a large number
of context creation on some malformed web pages.
2018-09-11 11:18:10 -07:00
Cheng Zhao
13334d023d
fix: read ignoreMenuShortcuts per WebContents
2018-09-10 19:06:16 +09:00
Nitish Sakhawalkar
a2ab0d8ebe
fix: notify focus change right away rather not on next tick ( #14453 )
...
* fix: Notify focus change right away, not on next tick
* fix: emit the JS blur/focus events on next tick to avoid race condition
* address feedback from review
* fix: bind deferred Emit() calls to a WeakPtr
This is so that the deferred Emit() calls will be canceled
if the TopLevelWindow is destroyed.
* chore: remove wip/test code cruft
* fix: make linter happy
* Enable disabled tests
* refactor: cleaner impl of EmitEventSoon()
* Revert "Merge branch 'fix-win-focus' of github.com:electron/electron into fix-win-focus"
This reverts commit 90576806eb271d059f0a215c67e9b4b04f7396a4, reversing
changes made to 9c13e47779a3af78fe0970c1f3d6cd040a5354e6.
* Restore 704722c1, which was removed in error.
We apologise again for the fault in the subtitles. Those responsible for sacking the people who have just been sacked have been sacked.
2018-09-07 13:21:58 -05:00
Cheng Zhao
92e094c5f6
fix: manually manage WebContents of webview when it is detached
2018-09-07 15:47:58 +09:00
Nitish Sakhawalkar
826af1d676
fix: macOS Window Title And Accessibility Focus ( #14472 )
...
- Override accessibility method in atom_ns_window
- Add title attribute in accessibilityAttributeValue
2018-09-07 09:47:31 +10:00
Robo
35a1849e31
chore: enable debugger api specs ( #14475 )
2018-09-07 00:44:22 +10:00
Robo
c7c95fab2f
build: [gn] widevine cdm support behind flag ( #14423 )
...
* build: [gn] widevine cdm support behind flag
* build: [gyp] link cdm_support in the component build
2018-09-05 16:00:37 -05:00
Robo
8441d09a18
chore: refactor webContents module isCurrentlyAudible api spec ( #14410 )
2018-09-05 16:00:05 -05:00
Electron Bot
4d23e200f0
Bump v4.0.0-nightly.20180905
2018-09-05 10:06:13 -07:00
Milan Burda
aa01a7337c
refactor: replace base::Value::DeepCopy and CreateDeepCopy with Clone ( #14420 )
2018-09-02 17:38:35 -05:00
Milan Burda
c17a1b37ea
feat: add event.senderId property to IPCs sent via ipcRenderer.sendTo ( #14395 )
2018-08-31 20:13:51 -05:00
Paulius
b89848d683
feat: allow window above full screen windows on mac ( #14122 )
...
* allow window above full screen windows on mac
* add visibility change params to higher level files
* adress feedback, fix bool issue, remove compilation hooks
* adjust readme
* switch to options object
* single argument for native window views
2018-08-31 15:06:02 -07:00
Shelley Vohr
cbb460d476
Revert "Bump v4.0.0-nightly.20180830"
...
This reverts commit 5f00e58029
.
2018-08-30 23:12:00 -07:00
Electron Bot
5f00e58029
Bump v4.0.0-nightly.20180830
2018-08-30 22:10:45 -07:00
Milan Burda
5a0770f1d3
fix: allow Tray with title only (without icon) on Mac ( #13851 )
2018-08-30 21:16:56 +12:00
Samuel Attard
1b7418fb7b
Revert "sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )" ( #14380 )
...
This reverts commit 66d6ba8689
.
2018-08-30 09:57:49 +12:00
Samuel Attard
66d6ba8689
sec: deprecate some webPreference defaults to be secure-by-default ( #14284 )
...
* feat: deprecate default value of nodeIntegration
* Use DeprecationStatus::Stable as the default instead of shadowing
* change wording of deprecations
* chore: also deprecate kWebviewTag and kContextIsolation
* chore: do as we preach, lets be secure-by-default in the default app
2018-08-29 13:14:04 -05:00
Jacob Groundwater
d9a7fee79a
feat: Add electron version to framework ( #14296 )
...
* Add electron version to framework
* Update Info.plist
2018-08-29 10:31:45 -07:00
Robo
edd5c4b9bb
fix: use OS process handle to clear object registry ( #14324 )
...
RenderProcessHost switch can happen between ipc calls when
speculative process are invvolved, which will lead to deletion
of entries on current context. Use OS process handles to
uniquely associate a destruction handler for a render process.
2018-08-28 13:32:46 -05:00
Alexey Kuzmin
7edd37bca1
build: add missing enable_view_api flag ( #14351 )
...
* build: add missing enable_view_api flag
Fixes #14340 .
* fix: properly pass a pointer to a SetLayoutManager() call
2018-08-28 10:55:31 -07:00
Robo
07d017dc01
fix: crash when tray is destroyed ( #14347 )
...
Release the view of status item before destroying it,
gives chance to perform cleanup on the view.
2018-08-28 10:45:24 -07:00
Samuel Attard
68da311ed1
feat: add session.setPermissionCheckHandler ( #13925 )
...
* feat: add session.setPermissionCheckHandler to handle syncornous permission checks vs requests
* spec: add tests for session.setPermissionCheckHandler
* docs: add docs for session.setPermissionCheckHandler
* feat: add mediaType to media permission checks
* chore: cleanup check impl
2018-08-28 09:05:08 -05:00