Milan Burda
771d4dc374
fix: devtools extensions not loading ( #20791 ) ( #20844 )
2019-10-30 11:35:50 -04:00
Milan Burda
b1fb7c7bfb
fix: properly generate requestID in webContents.printToPDF() ( #20769 ) ( #20810 )
2019-10-30 14:38:29 +09:00
Robo
3b59f12495
fix: backport libuv patch for fs.mkdir/mkdirSync on invlaid names ( #20629 )
...
Backports https://github.com/libuv/libuv/pull/2375
2019-10-21 15:43:47 -04:00
trop[bot]
ae303ade7d
spec: allow "Yu Gothic" as a Japanese sans-serif font on Windows ( #20570 )
2019-10-14 12:38:27 -07:00
Milan Burda
8536f62826
fix: allow paths to asar archives to contain the .asar extension in directories ( #20342 ) ( #20401 )
2019-10-02 18:03:44 +09:00
trop[bot]
312f14ee88
fix: correctly crash when there is no crashReporter ( #20395 )
...
* fix: correctly crash when there is no crashReporter
* test: correctly crash when there is crashReporter
2019-10-01 15:23:16 -04:00
trop[bot]
4ac616b681
fix: resolve crash loading file based serviceworkers ( #20142 )
2019-09-05 21:15:17 -07:00
John Kleinschmidt
f967d73a13
ci: run tests on WOA hardware (7-0-x) ( #20091 )
...
* ci: run tests on WOA hardware (#20031 )
* ci: run tests on WOA hardware
* Temporarily disable test until #20008 is resolved
* deterministically run tests in sorted order
(cherry picked from commit bedc5f7da9 )
* use request instead of blur to detect openExternal success
* use blur event on mac, sigh
* oh, right, still gotta open an actual url
* Disable test until #20008 is resolved
2019-09-04 19:22:29 -04:00
Electron Bot
c7a3142bab
chore: bump chromium to 78.0.3896.6 (7-0-x) ( #19609 )
...
* chore: Bump 78.0.3894.0
* chore: bump chromium to 32e0bab929213da1019992bf31d29 (master) (#19488 )
* chore: bump chromium to cbeb16cf544f79c1990f1eae4d4fe (master) (#19610 )
Co-authored-by: Erick Zhao <erickzhao@github.com >
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
Co-authored-by Micha Hanselmann <DeerMichel@github.com >
* chore: bump chromium to 62327c655093c821aa0fcfc6db53f5fd943e08c7 (master) (#19792 )
* chore: bump chromium in DEPS to f3bf493731e868e1f5f48e7e1adc02ea5eccfbbd
* chore: bump chromium in DEPS to 4db0c87d4aa6f27ffa0b5fc77d20e10047962484
* chore: bump chromium in DEPS to d933a504c264dc8fe85267f47aef3588531875b5
* chore: bump chromium in DEPS to 34afdb68980f581ae911b85b727bc17e126cf5f9
* update disable-redraw-lock.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1600387
* update desktop_media_list.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1729156
* update notification_provenance.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1742779
* update printing.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1646772
* update verbose_generate_bpad_syms.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1745986
* update patch metadata
* remove printing_compositor manifests
https://chromium-review.googlesource.com/c/chromium/src/+/1742734
* update for URLLoaderFactoryType enum
https://chromium-review.googlesource.com/c/chromium/src/+/1754716
* remove gin string16 converter
https://chromium-review.googlesource.com/c/chromium/src/+/1750093
* ClearCompositorFrame() has been removed
https://chromium-review.googlesource.com/c/chromium/src/+/1746301
* message_loop -> message_loop_current
https://chromium-review.googlesource.com/c/chromium/src/+/1738552
* include resource_response header
* pdf compositor no longer uses service manager
https://chromium-review.googlesource.com/c/chromium/src/+/1742734
* chore: bump chromium in DEPS to 00d5933101d8d8dc9546eadbe7ee1b41077e6db1
* pane focus fns aren't pure virtual anymore
https://chromium-review.googlesource.com/c/chromium/src/+/1708767
* fix: make std::hash value-non-const
broken by https://chromium-review.googlesource.com/c/chromium/src/+/1711202
* update swiftshader in zip_manifests
https://swiftshader-review.googlesource.com/c/SwiftShader/+/34911
* address feedback from @deepak1556
* don't enable kLegacyWindowsDWriteFontFallback
https://chromium-review.googlesource.com/c/chromium/src/+/1753006
* chore: bump chromium in DEPS to 84497314005e1968da06804f8fde539d9872310e
* update printing.patch
remove bottom diff owing to https://chromium-review.googlesource.com/c/chromium/src/+/1678182 and update for https://chromium-review.googlesource.com/c/chromium/src/+/1678182
* convert CookieChangeListener to new Mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/1753371
* rename ui::ClipboardType -> ui::ClipboardBuffer
https://chromium-review.googlesource.com/c/chromium/src/+/1758730
* logging::LoggingSettings log_file -> log_file_path
https://chromium-review.googlesource.com/c/chromium/src/+/1699477
* roll DEPS to latest lkgr
* fix: override GetFontLookupTableCacheDir()
When Chromium goes to use its fallback font table creation code paths,
it creates the cache directory it uses by calling
GetFontLookupTableCacheDir() with a path that doesn't exist in Electron.
To ensure that a legitimate file path is created, we need to override it
with Electron's DIR_USER_DATA so it doesn't use chrome::DIR_USER_DATA.
* chore: bump chromium in DEPS to 6758a0879931bc4df630a80a36c82d7855ae3155
* update pthread_fchdir patch
https://chromium-review.googlesource.com/c/chromium/src/+/1759149
* update printing patch
* update cookie usage and fn signatures
https://chromium-review.googlesource.com/c/chromium/src/+/1758437
* chore: bump chromium in DEPS to bdaca97e1cc27fb977e56f30f74cdb906da9527e
* remove fix_make_std_hash_value-non-const.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1762335
* Convert enum to enum class for FocusManager::FocusChangeReason
https://chromium-review.googlesource.com/c/chromium/src/+/1767281
* roll DEPS to latest lkgr
* update dom_storage_limits.patch
https://chromium-review.googlesource.com/c/chromium/src/+/1767556
* chore: remove pre network service classes from shell/browser/net (#19644 )
* refactor: rm IOThread class
* chore: rm expose-net-observer-api.patch
* chore: rm unused shell/browser/net/ classes
* chore: mv CertVerifierClient to separate header
* chore: rm url_request_context_getter references
* chore: update patches
* Require task posters to specify an explicit destination
https://chromium-review.googlesource.com/c/chromium/src/+/1769080
* chore: Revert "Cleanup: Remove Menu Subtitles/Sublabels"
* chore: Bump chromium 78.0.3896.0
* build: add checkout_openxr=False to DEPS
Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1745502
* chore: update patches
* Convert TrustedURLLoaderHeaderClient and TrustedHeaderClient to new mojo types
https://chromium-review.googlesource.com/c/chromium/src/+/1767298
https://chromium-review.googlesource.com/c/chromium/src/+/1768841
* skia: more rect api simplifications
https://skia-review.googlesource.com/c/skia/+/237038
* iwyu
* test: fix clearAuthCache test (#20015 )
* fix: nws13n: make ses.setUserAgent work (#20014 )
* refactor tests to better control window creation
* fix: nws13n: make ses.setUserAgent work
* chore: update v8 patches
* Add enterprise policy for renderer CIG.
https://chromium-review.googlesource.com/c/chromium/src/+/1758589
* Convert enum to enum class for Wigdet::FrameType
https://chromium-review.googlesource.com/c/chromium/src/+/1767292
* [JJI] Convert to use string16 for data from JavaScript/Java
https://chromium-review.googlesource.com/c/chromium/src/+/1750093
* chore: Bump chromium 78.0.3896.6
2019-08-30 12:57:57 -04:00
Eugene
bb8c7dfc7e
fix: allow unsandboxed renderers to request new privileges (7-0-x) ( #19999 )
...
* fix: allow unsandboxed renderers to request new privileges
* add test
2019-08-29 08:27:18 -07:00
Heilig Benedek
1af064a144
feat: enable picture-in-picture mode for video tags ( #19914 )
2019-08-23 15:24:42 -07:00
trop[bot]
d01a8eaa39
feat: add new nativeTheme API ( #19758 )
...
* feat: add new nativeTheme API
* chore: deprecate and clean up old systemPreferences theme APIs in favor of new nativeTheme module
* chore: clean up and deprecate things per feedback
* chore: add tests for deprecate and clean up invert impl
* build: when is a boolean not a boolean???
2019-08-14 17:53:20 -07:00
trop[bot]
a9f69bf732
fix: don't handle browser messages before document element is created ( #19722 )
...
* fix: don't handle browser messages before document element is created
* fix: bind ElectronApiServiceImpl later
DidCreateDocumentElement is called before the ElectronApiServiceImpl
gets bound.
* chore: add comment
2019-08-12 19:34:21 -07:00
trop[bot]
f154dbda40
docs: remove implicit 'any' and 'Object' types from the docs ( #19630 )
...
* docs: remove implicit 'any' and 'Object' types from the docs
* docs: more docs improvements, remove all remaining empty interfaces
* chore: update tests for better types
2019-08-05 20:56:42 -07:00
trop[bot]
c6061cce41
doc: add missing MenuItem roles ( #19555 )
2019-07-31 19:12:52 -07:00
Milan Burda
8a33118e36
fix: refactoring regression in LocationProxy ( #19495 )
2019-07-29 11:20:19 -07:00
foo bar code
4e0e615406
fix: Expose missing Add/RemoveExtraParameter methods to macOS node child processes ( #15790 )
...
* Expose missing crash reporter methods in mac node processes
* Crashpad migration
2019-07-29 09:46:35 +09:00
Jeremy Apthorp
dc5574cbde
test: move autoUpdater specs to main process ( #19440 )
2019-07-26 10:52:57 -07:00
Jeremy Apthorp
d50298ed96
test: move menu spec to main process ( #19412 )
2019-07-26 10:17:14 -04:00
Jeremy Apthorp
2a5d40617a
test: move the last of the browser window specs ( #19295 )
...
* move devtools extensions tests
* move executeJavaScript tests
* move previewFile test
* move contextIsolation tests
* move OSR tests
* RIP api-browser-window-spec.js
.--. .-, .-..-.__
.'(`.-` \_.-'-./` |\_( "\__
__.>\ '; _;---,._| / __/`'--)
/.--. : |/' _.--.<| / | |
_..-' `\ /' /` /_/ _/_/
>_.-``-. `Y /' _;---.`|/))))
'` .-''. \|: .' __, .-'"`
.'--._ `-: \/: /' '.\ _|_
/.'`\ :; /' `- `-|-`
-` | | |
:.; : | .-'~^~`-.
|: | .' _ _ `.
|:. | | |_) | |_) |
:. : | | | \ | | |
: ; | | |
: ; | | Here lies |
: ; | | 1000 |
: ; | | flaky |
: ; | | tests |
.jgs. : ; | |
-."-/\\\/:::. `\."-._'."-"_\\-| |///."-
" -."-.\\"-."//.-".`-."_\\-.".-\\`=.........=`//-".
* remove unused ipcMain listeners
* remove debugging logs
* close windows in offscreen test
* more closeAllWindows
* remove extra logs
* refactor webContents main spec using closeAllWindows
2019-07-26 10:09:33 -04:00
Jeremy Apthorp
16011cacef
test: move dialog spec to main process ( #19231 )
...
* test: move dialog spec to main process
* skip tests on windows to avoid crash
* more disabling on windows
2019-07-26 09:37:59 -04:00
Jeremy Apthorp
0f5cb7995f
ci: report test results to appveyor ( #19434 )
2019-07-25 11:30:56 -07:00
Jeremy Apthorp
e58f8a79ee
test: move the TouchBar specs to the main process ( #19413 )
2019-07-25 11:30:42 -07:00
Jeremy Apthorp
86c2ea1cb8
test: move Notification spec to main process ( #19414 )
2019-07-24 17:18:11 -07:00
Samuel Attard
2132fdfa28
fix: ensure we wait for the inspect to disconnect
...
This re-orders our node clean up so that we free the environment before
the task runner is cleaned up as node uses the task runner during clean
up. It also calls WaitForDisconnect() to ensure that inspector agents
are notified that the context is going down.
2019-07-24 14:43:49 -07:00
Jeremy Apthorp
d11d222da2
test: move version-bump spec to main process ( #19415 )
2019-07-24 10:16:28 -07:00
Jeremy Apthorp
9910507bc4
test: move BrowserView specs to main process ( #19409 )
2019-07-24 08:44:24 -07:00
Jeremy Apthorp
ad6fb20486
test: disable flaky webview.clearHistory test ( #19398 )
2019-07-23 16:54:41 -07:00
Samuel Attard
d82e7af9be
chore: upgrade transitive lodash dependency ( #19297 )
2019-07-18 09:59:09 -07:00
Jeremy Apthorp
8452a7ffa5
test: move systemPreferences spec to main process ( #19237 )
...
* test: move systemPreferences spec to main process
* Update api-system-preferences-spec.ts
* Update api-system-preferences-spec.ts
2019-07-17 09:14:32 +09:00
Milan Burda
d1c9f5e309
fix: don't execute preload scripts for internal <iframe> in <webview> ( #19260 )
2019-07-17 09:13:05 +09:00
Jeremy Apthorp
70857e9a5d
test: move more BrowserWindow specs ( #19290 )
...
* test: move more BrowserWindow specs
* use async instead of setTimeout for cleaner code
2019-07-16 16:37:17 -07:00
Jeremy Apthorp
c5e249b85c
test: actually test sandbox events in the test that says 'test sandbox events' ( #19284 )
2019-07-16 13:43:23 -07:00
Jeremy Apthorp
355b307618
test: move MenuItem spec to main process ( #19235 )
...
* test: move MenuItem spec to main process
* spec: fix errant default accel test
* Update menu-item-roles.js
* Update api-menu-item-spec.ts
2019-07-16 12:54:18 -07:00
Jeremy Apthorp
27599a851f
test: move some BrowserWindow specs to the main process ( #19182 )
...
* test: move some BrowserWindow specs to the main process
* uncomment cross-site test
* move more tests
* re-enable, refactor and move visibilitychange specs
* move new-window event tests and re-enable them on mac
* move max/minimize event tests
* move modal tests
* move beginFrameSubscription tests
* move savePage test
* move BrowserWindow options argument is optional test
* move restore, unmaximize, fullscreen tests
* move parent window tests
* don't wait for show event on windows (#8664 )
* add debugging logs to fullscreen tests
* more debugging on windows
* explicitly destroy browserviews to prevent crash during gc
* only await show on darwin
* more event timing fixes
* disable max/minimize event tests on linux, since they're broken on CI
2019-07-15 21:13:32 -07:00
Jeremy Apthorp
f101c72cbe
spec: move powerSaveBlocker spec to main process ( #19236 )
2019-07-15 17:38:01 +09:00
Jeremy Apthorp
a4cffd29b7
test: move globalShortcut spec ( #19233 )
2019-07-15 17:29:29 +09:00
Jeremy Apthorp
1ff2704445
test: move inAppPurchase spec ( #19232 )
2019-07-15 17:28:55 +09:00
Jeremy Apthorp
8a57fe5466
test: move ipcMain spec ( #19230 )
2019-07-15 17:23:59 +09:00
Jeremy Apthorp
3957a791b7
test: move contentTracing specs to main process ( #19229 )
2019-07-15 17:23:35 +09:00
Erick Zhao
9a42ddd2b8
chore: revert key -> main change in window delegate listener ( #19213 )
...
* chore: revert key -> main
* chore: comment out test that will fail
* more context on commented out test
* remove commented test
2019-07-12 17:46:35 +09:00
Milan Burda
35294891ae
fix: <webview> not working in scriptable popups ( #19198 )
2019-07-11 20:56:04 -05:00
Cheng Zhao
faa2710485
fix: do not wait on promise returned by remote APIs ( #18990 )
...
* fix: make <webview>.loadURL async
* docs: webview.loadURL returns Promise
2019-07-10 08:20:28 -05:00
Micha Hanselmann
d79e6bbffe
refactor: improve function deprecation module ( #19012 )
...
* add removeFunction to deprecation module
* clarify deprecate api
* throw error
* change error msg
2019-07-09 10:01:35 +09:00
Milan Burda
419ce494e9
refactor: use IPC helpers in window-setup ( #17948 )
2019-07-09 02:43:49 +03:00
Jeremy Apthorp
c3ae476deb
test: move some browser window specs to the main process ( #19089 )
2019-07-08 15:44:37 -07:00
Jeremy Apthorp
da64fae690
test: disable IAP tests that hit Apple servers ( #19100 )
2019-07-03 15:41:37 -07:00
Shelley Vohr
43b4a3ae6a
chore: deprecate some NSVisualEffectMaterial types ( #19072 )
2019-07-03 14:56:03 -07:00
Jeremy Apthorp
d1292833e9
chore: remove unused BrowserWindow.fromDevToolsWebContents ( #19090 )
2019-07-03 12:07:47 -07:00
Shelley Vohr
8782d06ed6
feat: convert webContents primitives to properties ( #18998 )
...
* feat: convert webContents primitives to properties
* address feedback from review
2019-07-03 08:57:10 -07:00