Electron Bot
d008d217f9
chore: bump chromium to 2a7aff41ce73adc0eeee67d364989 (master) ( #18505 )
...
* chore: bump chromium in DEPS to 07463d3cd628b037c11f36022cb4c788db4628e3
* chore: update patches
* fix: Don't leak system network context when nw service is disabled
https://chromium-review.googlesource.com/c/chromium/src/+/1632494
NetworkService is now deleted by using SequnceLocalStorageSlot
on the IO thread when the service is disabled, which expects
all associated NetworkContexts on that sequence to be destroyed.
* chore: bump chromium in DEPS to 7c16850e7e40990e141f47101b737ec1092175a1
* fix: Destroy all network contexts before primary network context
* Simplify out-of-process service registration
https://chromium-review.googlesource.com/c/chromium/src/+/1615882
* [ThreadPool] Rename base::ThreadPool to base::ThreadPoolInstance
https://chromium-review.googlesource.com/c/chromium/src/+/1634851
* chore: update patches
* fix: -Winconsistent-missing-override warnings
* chore: bump chromium in DEPS to 93ebfaccc12715df1d5426797998eed0932f7ae1
* Change CreateBrowserMainParts to return unique_ptrs
https://chromium-review.googlesource.com/c/chromium/src/+/1632532
* chore: update patches
* chore: bump chromium in DEPS to e656555ffb87bdd05e248d0a3ef9dd9d3433e17b
* chore: bump chromium in DEPS to 111e7a8d2e3ae9d70e535009d6afb066ac906063
* chore: bump chromium in DEPS to 9b6b84670d32a7aff41ce73adc0eeee67d364989
* chore: update patches
* chore: remove ShouldInterceptResourceAsStream as it is removed upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639597
* chore: remove ResourceDispatcherHostCreated as it is removed upstream
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1610892
* chore: CreateWithStrongBinding --> CreateWithSelfOwnedReceiver
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1636722
* chore: rename all blink media enums
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1639237
* chore: add accidentally removed patch content back
2019-06-03 20:44:12 -07:00
Shelley Vohr
9187759460
chore: fix logging to stderr ( #18537 )
2019-06-01 09:21:13 -07:00
Samuel Attard
26155c8a00
fix: handle gzipped chrome WebUI resources ( #18531 )
...
Fixes : #18503
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1576232
For whatever reason Chromium made this change and then made the default
//content behavior to return false for all IsDataResourceGzipped
requests. This PR updates our ContentClient impl to return the correct
values.
Notes: Fixed issues where some `chrome://*` URLs would not render
correctly
2019-05-31 13:05:35 -07:00
Electron Bot
96b32a814c
chore: bump chromium to 964c4bca8de5c320534d95606c861 (master) ( #18440 )
...
* chore: bump chromium in DEPS to 2930eb12d56988c2c80bad2797ab036fe493d4e1
* chore: update patches
* Revert "disable robotjs-based tests"
This reverts commit e56adafc1f
.
* Revert "skip dbus tests (#18409 )"
This reverts commit aea042cc83
.
* Revert "skip more dbus tests"
This reverts commit 68dbef48da
.
* chore: bump chromium in DEPS to fd62da5601399b92effaa32a943fcd96143c8605
* chore: bump chromium in DEPS to 99f87ca22ee6e7ec953defe694771cb68f47a596
* chore: bump chromium in DEPS to d88778435b4cd9a510a63385b6d4ba24674b9774
* chore: update patches
* chore: update ssl_security_state_tab_helper.patch
* Remove content_packaged_services
https://chromium-review.googlesource.com/c/chromium/src/+/1604203
* chore: fix false positive lint error
* views: wireup widget name to crash data
https://chromium-review.googlesource.com/c/chromium/src/+/1626640
* chore: bump chromium in DEPS to ab588d36191964c4bca8de5c320534d95606c861
* roll patches
2019-05-28 13:18:10 -07:00
Jeremy Apthorp
ca283c74c9
Merge remote-tracking branch 'origin/master' into roller/chromium-ad1b791122c04bd91b825fbfbdf1ff4da82a0edb-1558011686736
2019-05-21 10:07:17 -07:00
Nitish Sakhawalkar
9c21c66b97
fix: Windows logger path ( #18199 )
...
Windows debug isn't logging because of a DCHECK failure during startup. This changes the logger initialization to use the absolute path, so that logging works again.
2019-05-20 10:41:30 -07:00
Jeremy Apthorp
18d70e6e57
pin user32 on startup
...
https://chromium-review.googlesource.com/c/chromium/src/+/1551709
Loading it later causes a blocking call where blocking calls aren't allowed.
2019-05-16 18:47:42 -07:00
Milan Burda
9585818a90
chore: add clang-format and limited linting for Objective-C sources ( #18104 )
2019-05-02 21:05:37 +09:00
Samuel Attard
67b3fbca89
fix: ensure the inspector agent is shutdown before cleaning up the node env ( #18028 )
...
* fix: ensure the inspector agent is shutdown before cleaning up the node env
* spec: add tests to ensure clean shutdown with connected inspector agent
* Update node_debugger.cc
2019-04-30 15:44:40 -07:00
Milan Burda
fcf0af15de
feat: support ELECTRON_DEFAULT_ERROR_MODE in the GPU process ( #17728 )
2019-04-30 12:45:48 -04:00
Jeremy Apthorp
53c453567f
refactor: initialize feature list earlier ( #17922 )
2019-04-23 15:18:12 -07:00
Electron Bot
716cb28430
chore: bump chromium to 1e9f9a24aa12 (master) ( #17880 )
...
* chore: bump chromium in DEPS to 1e9f9a24aa12bea9cf194a82a7e249bd1242ec4f
* chore: update patches
* Make WebContents' theme color a base::Optional<SkColor>
https://chromium-review.googlesource.com/c/chromium/src/+/1540022
* update autofill patch for incorrect header includes
* Move Shell messages to web_test and rename to BlinkTest.
https://chromium-review.googlesource.com/c/chromium/src/+/1525181
* Make PlatformNotificationServiceImpl a KeyedService.
https://chromium-review.googlesource.com/c/chromium/src/+/1336150
* Move MediaPlayerId to its own file.
https://chromium-review.googlesource.com/c/chromium/src/+/1547057
* Remove net/base/completion_callback.h, which is no longer used
https://chromium-review.googlesource.com/c/chromium/src/+/1552821
* AW NS: support file scheme cookies
https://chromium-review.googlesource.com/c/chromium/src/+/1533486
* Remove SecurityInfo and adapt remaining consumers
https://chromium-review.googlesource.com/c/chromium/src/+/1509455
* Remove deprecated type-specific number to string conversion functions
https://chromium-review.googlesource.com/c/chromium/src/+/1545881
* DevTools: Adding new performance histograms for launch of top 4 tools
https://chromium-review.googlesource.com/c/chromium/src/+/1506388
* Update include paths for //base/hash/hash.h
https://chromium-review.googlesource.com/c/chromium/src/+/1544630
* build: Disable ensure_gn_version gclient hook for mac CI checkout
* update patches
* use maybe version of v8::String::NewFromTwoByte
* bump appveyor image version
* fix mac ci hopefully
* Convert enum to enum class for MenuAnchorPosition
https://chromium-review.googlesource.com/c/chromium/src/+/1530508
* use maybe version of ToObject
* RenderViewHost::GetProcess is no longer const
* Unrefcount AuthChallengeInfo
https://chromium-review.googlesource.com/c/chromium/src/+/1550631
* MenuButtonController takes Button rather than MenuButton
https://chromium-review.googlesource.com/c/chromium/src/+/1500935
* add //ui/views_bridge_mac to deps to fix link error
* forward declare views::Button in atom::MenuDelegate
* more v8 patches
* base/{=> hash}/md5.h
https://chromium-review.googlesource.com/c/chromium/src/+/1535124
* gfx::{PlatformFontWin => win}::*
https://chromium-review.googlesource.com/c/chromium/src/+/1534178
* fix v8 patches
* [base] Rename TaskScheduler to ThreadPool
https://chromium-review.googlesource.com/c/chromium/src/+/1561552
* use internal_config_base for bytecode_builtins_list_generator
avoids windows link errors
* FIXME: temporarily disable v8/breakpad integration
* FIXME: temporarily disable prevent-will-redirect test
* FIXME: disable neon on aarch64 pending crbug.com/953815
* update to account for WebCursor refactor
https://chromium-review.googlesource.com/c/chromium/src/+/1562755
* enable stack dumping on appveyor
* Revert "FIXME: disable neon on aarch64 pending crbug.com/953815"
This reverts commit 57f082026be3d83069f2a2814684abf4dc9e7b53.
* fix: remove const qualifiers to match upstream
* fix: remove const qualifiers to match upstream in cc files as well
* don't throw an error when testing if an object is an object
* use non-deprecated Buffer constructor
* Remove net::CookieSameSite::DEFAULT_MODE enum value
https://chromium-review.googlesource.com/c/chromium/src/+/1567955
* depend on modded dbus-native to work around buffer deprecation
https://github.com/sidorares/dbus-native/pull/262
* revert clang roll to fix arm build on linux
* fixup! depend on modded dbus-native to work around buffer deprecation
need more coffee
* update coffee-script
* robustify verify-mksnapshot w.r.t. command-line parameters
* Revert "robustify verify-mksnapshot w.r.t. command-line parameters"
This reverts commit a49af01411f684f6025528d604895c3696e0bc57.
* fix mksnapshot by matching args
* update patches
* TMP: enable rdp on appveyor
* Changed ContentBrowserClient::CreateQuotaPermissionContext() to return scoped_refptr.
https://chromium-review.googlesource.com/c/chromium/src/+/1569376
* Make content::ResourceType an enum class.
https://chromium-review.googlesource.com/c/chromium/src/+/1569345
* fixup! Make content::ResourceType an enum class.
* turn off rdp
* use net::CompletionRepeatingCallback instead of base::Callback<void(int)>
* remove disable_ensure_gn_version_gclient_hook.patch
* copy repeating callback instead of std::move
* fix lint
* add completion_repeating_callback.h include
2019-04-20 10:20:37 -07:00
Jeremy Apthorp
53f6cbccbf
refactor: use mojo for electron internal IPC ( #17406 )
...
* refactor: use mojo for electron internal IPC
* add sender_id, drop MessageSync
* remove usages of AtomFrameMsg_Message
* iwyu
* first draft of renderer->browser direction
* refactor to reuse a single ipc interface
* implement TakeHeapSnapshot through mojo
* the rest of the owl^WtakeHeapSnapshot mojofication
* remove no-op overrides in AtomRendererClient
* delete renderer-side ElectronApiServiceImpl when its pipe is destroyed
* looks like we don't need to overlay the renderer manifest after all
* don't try to send 2 replies to a sync rpc
* undo changes to manifests.cc
* unify sandboxed + unsandboxed ipc events
* lint
* register ElectronBrowser mojo service on devtools WebContents
* fix takeHeapSnapshopt failure paths
* {electron_api => atom}::mojom
* add send_to_all to ElectronRenderer::Message
* keep interface alive until callback is called
* review comments
* use GetContext from RendererClientBase
* robustify a test that uses window.open
* MessageSync posts a task to put sync messages in the same queue as async ones
* add v8::MicrotasksScope and node::CallbackScope
* iwyu
* use weakptr to api::WebContents instead of Unretained
* make MessageSync an asynchronous message & use non-associated interface
* iwyu + comments
* remove unused WeakPtrFactory
* inline OnRendererMessage[Sync]
* cleanups & comments
* use helper methods instead of inline lambdas
* remove unneeded async in test
* add mojo to manifests deps
* add gn check for //electron/manifests and mojo
* don't register renderer side service until preload has been run
* update gn check targets list
* move interface registration back to RenderFrameCreated
2019-04-02 15:38:16 -07:00
Shelley Vohr
38d75010c7
chore: rename atomBinding to electronBinding ( #17419 )
2019-03-18 12:37:06 -07:00
Nitish Sakhawalkar
e77d065875
chore: node_includes header no longer needs to be at the end of the list ( #17090 )
...
Until one of the latest version of node, the definition of the DISALLOW_COPY_AND_ASSIGN macro in node was different than in chromium. That is no longer the case, so just undefining the macro in node_includes.h works.
2019-03-11 17:13:43 -07:00
deepak1556
59703c60ac
Convert remaining JSON service manifests
...
https://bugs.chromium.org/p/chromium/issues/detail?id=895616
2019-03-08 15:04:32 -08:00
Jeremy Apthorp
652e232813
feat: enable setuid sandbox on linux ( #17269 )
2019-03-08 13:10:26 -08:00
Heilig Benedek
d7557cb66a
chore: use c++ manifests instead of json
2019-02-14 23:59:26 +05:30
deepak1556
e1502f6953
Move GetUserAgent from ContentClient to ContentBrowserClient
...
https://chromium-review.googlesource.com/c/chromium/src/+/1352086
2019-02-14 23:59:22 +05:30
Milan Burda
e769b867f0
fix: disable Chromium v2 sandbox in MAS builds ( #16920 )
2019-02-14 09:48:17 -08:00
SamvelRaja
8af532ba98
feat: added process.electron to get the electron version in forked process ( #16450 )
2019-01-29 22:13:18 -08:00
Nitish Sakhawalkar
940c4c0787
feat: move webFrame scheme privilege methods to main process ( #16416 )
...
* chore: deprecate webFrame.registerURLSchemeAsPrivileged
* Add register schemes protocol api
* update branch to enable browser process API
* Revert deprecation changes
* Fetch API support
* Updated api to take an array, still working on tests
* Update tests
* Remove web frame API
* Minor changes
* update scheme registrations on browser and renderer process
* fix: enable ses.getBlobData spec
* Update breaking changes doc
2019-01-29 16:11:01 +09:00
Jeremy Apthorp
257de6a963
feat: add ELECTRON_DISABLE_SANDBOX env var ( #16576 )
2019-01-29 15:30:17 +09:00
Samuel Attard
f3e30c7ae3
Merge remote-tracking branch 'origin/chromium-upgrade/72'
2019-01-22 12:01:18 -08:00
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
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
Jeremy Apthorp
55d5b02f87
include glib.h in atom_main_delegate
...
it was complaining about 'undeclared identifier 'TRUE''
2019-01-22 10:32:06 -08:00
deepak1556
4089620729
fix: Initialize resource bundle for the browser process earlier
2019-01-22 10:32:05 -08:00
Robo
52fe92d02e
feat: Upgrade to Chromium 71.0.3578.98 ( #15966 )
2019-01-11 17:00:43 -08:00
Alexey Kuzmin
3cb9aadb80
build: fix the build with enable_run_as_node disabled ( #15711 )
2019-01-11 08:02:06 -08:00
Jeremy Apthorp
4250f84272
chore: enable v2 sandbox on mac ( #15647 )
2018-12-12 16:01:10 -08:00
Samuel Attard
c9007557e5
chore: post_task and friends now live under base/task
...
refs: https://chromium-review.googlesource.com/c/chromium/src/+/1161088
2018-12-03 20:07:38 +05:30
Samuel Attard
c4cb90ab85
chore: replace PreContentInitialization with PreCreateMainMessageLoop
2018-12-03 20:07:38 +05:30
Shelley Vohr
165d168ee5
fix: ignore unused freopen result ( #15884 )
2018-11-29 09:36:08 -08:00
Jeremy Apthorp
62eb077f29
refactor: simplify logic for enabling stack dumping ( #15872 )
...
ref #15785
2018-11-28 22:23:41 -08:00
Jeremy Apthorp
a8a881c8db
chore: restore //url dchecks ( #15637 )
2018-11-22 09:02:52 -08:00
Andrzej Szombierski
51cb36fa9b
fix: ensure that file descriptors 0/1/2 are opened at startup ( #15555 )
...
* fix: ensure that file descriptors 0/1/2 are opened at startup
This fixes an issue where the gpu subprocess was writing messages to a
random pipe or socket. The standard file desciptors are closed in
chromium's subprocesses because of an unfortunate interaction with
libuv's tty handling code leaving them with the FD_CLOEXEC flag.
* style: fix lint warnings
2018-11-19 11:53:55 -05:00
Jeremy Apthorp
20116d7f05
fix: always disable setuid sandbox on linux ( #15722 )
2018-11-15 13:27:56 -08:00
Samuel Attard
7f73240fd5
chore: use chromes auto generated definition of CHROME_VERSION_STRING ( #15275 )
2018-11-02 23:32:33 +11:00
Shelley Vohr
b2e1a93177
refactor: remove hardcoded google api key ( #15478 )
...
* refactor: remove hardcoded Google API key
* address changes from review
2018-10-31 07:49:44 -07:00
Milan Burda
8ba271efba
refactor: eliminate brightray ( #15240 )
2018-10-24 12:49:10 +02:00
Milan Burda
809bd3757b
refactor: eliminate brightray::MainDelegate ( #15333 )
2018-10-23 14:16:13 +02:00
Milan Burda
e8e7edf017
refactor: eliminate brightray::ContentClient ( #15303 )
2018-10-22 19:04:23 +02:00
deepak1556
be719a1ec3
fix: Use the new isolate initialization api
...
https://chromium-review.googlesource.com/c/chromium/src/+/1015020
2018-10-09 14:38:00 -07:00
Samuel Attard
80ffc26713
fixme: disable pepper flash
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
8eb15f7554
Creates TaskScheduler and MessageLoop on main thread early
...
https://chromium-review.googlesource.com/c/chromium/src/+/1072387
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
7861f75a3e
media: Refactor KeySystemSupport
...
https://chromium-review.googlesource.com/c/chromium/src/+/1102836
2018-10-09 14:38:00 -07:00
Jeremy Apthorp
9aaedc394e
DrainBackgroundTasks -> DrainTasks
2018-10-04 00:13:37 +02:00
Jeremy Apthorp
de581ca0b4
PathService -> base::PathService
2018-10-04 00:12:54 +02:00