Jeremy Rose
5c8e7e8b7f
fix: restrict sendToFrame to same-process frames by default ( #26928 )
...
* fix: restrict sendToFrame to same-process frames by default (#26875 )
* missed a conflict
* fix build
* fix build again
2020-12-11 13:01:49 -08:00
Milan Burda
72511cc9d2
fix: systemPreferences.effectiveAppearance returning systemPreferences.getAppLevelAppearance() ( #26852 ) ( #26881 )
2020-12-08 08:21:42 -08:00
trop[bot]
c32cb09a68
chore: improve renderer crash logging ( #25620 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2020-09-24 12:55:54 -07:00
trop[bot]
81c1a6ed29
chore: log hint on renderer crash ( #25473 )
...
* chore: log hint on renderer crash
* Address feedback from review
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-09-15 14:01:31 -06:00
Shelley Vohr
f59d898f5c
fix: always callback error with invalid print settings ( #24508 )
...
* fix: always callback error with invalid print settings
* fixup printing patch
Co-authored-by: John Kleinschmidt <jkleinsc@github.com >
2020-07-13 17:19:51 -04:00
trop[bot]
4515c4db00
feat: add app render-process-gone event ( #24315 )
...
Co-authored-by: Milan Burda <milan.burda@gmail.com >
2020-07-03 16:35:16 -07:00
Milan Burda
4ace4995c8
feat: MessagePorts in the main process ( #24323 )
...
Co-authored-by: Milan Burda <miburda@microsoft.com >
2020-07-02 08:37:09 -07:00
trop[bot]
f6d3c565fe
Make pasteandmatchstyle accelerator OS specific ( #24185 )
...
Co-authored-by: Elena Topaka <el1topa@gmail.com >
2020-06-17 21:43:56 -07:00
trop[bot]
496b0f811f
fix: showing certificate dialog with no window ( #24121 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-06-13 08:19:44 -07:00
trop[bot]
be6c102fa1
fix: trigger about panel for about role on on win ( #23715 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-05-21 21:09:05 -04:00
LuoJinghua
c21c9b64e2
net: Don't ignore the referer header in net.request ( #23685 )
2020-05-20 20:27:27 -04:00
Milan Burda
90833d372f
build: allow use of BUILDFLAG directives from within JS code ( #23496 )
2020-05-19 09:26:59 -04:00
Jeremy Apthorp
2f8150891b
fix: crashReporter incompatible with sandbox on Linux ( #23265 ) ( #23461 )
2020-05-08 11:41:42 -07:00
trop[bot]
dc3dc81beb
feat: support fullScreen BrowserWindow property ( #23330 )
...
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com >
2020-04-29 12:16:11 -07:00
Samuel Attard
a985865f65
refactor: port window-setup to use ctx bridge instead of being run in the main world ( #23299 )
...
* refactor: port parts of window-setup to use ctx bridge instead of being run in the main world (#23194 )
* refactor: port parts of window-setup to use ctx bridge instead of being run in the main world
* chore: update ctx bridge specs for new base numbers
* refactor: port window.open and window.opener to use ctx bridge instead of hole punching (#23235 )
* refactor: port window.open and window.opener to use ctx bridge instead of hole punching
* refactor: only run the isolated init bundle when webview is enabled
2020-04-27 14:42:14 -07:00
shelley vohr
45174dfc19
feat: add property support for remainder of BrowserWindow ( #23208 )
...
Adds property-based support for the remainder of primitive getter/setter pairs on `BrowserWindow`.
Namely:
- `win.simpleFullScreen`
- `win.title`
- `win.visibleOnAllWorkspaces`
- `win.documentEdited`
- `win.representedFilename`
- `win.shadow`
- `win.kiosk`
- `win.menuBarVisible`
2020-04-23 10:34:20 -07:00
Samuel Attard
9b14ae770d
feat: add support for net requests to use the session cookie store ( #22806 )
...
* chore: refactor all the net specs to be async with better error handling (#22731 )
* chore: fix net specs when rerunning locally (#22745 )
* feat: add support for net requests to use the session cookie store (#22704 )
* fix: allow net requests to use Same-Site cookies (#22788 )
2020-03-23 10:53:40 -07:00
Samuel Attard
5a34ad4e21
build: enable JS semicolons ( #22785 )
2020-03-23 09:18:28 -07:00
Shelley Vohr
dc25ad2ef0
chore: update app module property support ( #22747 )
2020-03-20 16:09:47 +09:00
trop[bot]
02eff88e1b
chore: revert deprecated WebContents properties ( #22682 )
2020-03-19 14:11:41 -07:00
trop[bot]
54e31956f8
chore: more modules to dual prop/fn support ( #22734 )
2020-03-19 09:27:39 -07:00
trop[bot]
f1c1542958
chore: support props/fns for BrowserWindow ( #22733 )
2020-03-18 19:53:11 -07:00
trop[bot]
0cf02dd78b
fix: remove bad usages of for-in and guard against it ( #22727 )
...
* fix: remove bad usages of for-in and guard against it
* Apply suggestions from code review
Co-Authored-By: Samuel Maddock <samuel.maddock@gmail.com >
* Apply suggestions from code review
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* Update remote.js
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Samuel Attard <sattard@slack-corp.com >
Co-authored-by: Samuel Maddock <samuel.maddock@gmail.com >
Co-authored-by: Jeremy Apthorp <jeremya@chromium.org >
2020-03-18 09:38:26 +09:00
Erick Zhao
1114954cbf
fix: guard against duplicate TouchBarItem IDs ( #22644 )
2020-03-12 10:48:17 +09:00
trop[bot]
0d7e13d2a6
feat: add API for receiving logs from service workers ( #22313 )
...
* feat: add API for receiving logs from service workers
* feat: add new serviceWorkerContext APIs
* chore: add missing #include's
* refactor: rename serviceWorkerContext to serviceWorkers
* chore: clean up based on review
* chore: remove native_mate
* chore: add tests for the service worker module
* Update spec-main/api-service-workers-spec.ts
Co-Authored-By: Jeremy Apthorp <jeremya@chromium.org >
* chore: fix linting
* chore: handle renames
Co-authored-by: Samuel Attard <samuel.r.attard@gmail.com >
Co-authored-by: Jeremy Apthorp <nornagon@nornagon.net >
2020-02-27 11:02:31 -08:00
Shelley Vohr
928175bdfe
feat: allow specifying pageSize for print ( #22014 )
2020-02-05 04:25:02 +00:00
Jeremy Apthorp
1c6d8f5af6
fix: return path from netLog.stopLogging ( #21985 )
2020-01-31 10:43:02 -08:00
Shelley Vohr
548b290ea7
feat: add more options to printToPDF ( #21906 )
2020-01-28 20:47:24 +00:00
Charles Kerr
1b4eb0b679
fix: use powerMonitor.on() only after app is ready ( #21927 )
...
* fix: use powerMonitor.on() only after app is ready
powerMonitor can't be used until the app is ready; however, on Linux,
powerMonitor.on() was called as soon as lib/browser/api/power-monitor.ts
was loaded.
This patch takes @vladimiry's suggestion of wrapping that in an
app.on('ready') handler to prevent powerMonitor.on() from being called
prematurely.
Fixes #21716
2020-01-28 12:19:44 -06:00
Cheng Zhao
ceacadb4f4
fix: pass full response headers in net module ( #21552 )
2020-01-14 09:36:08 -08:00
Lutz Roeder
ed6a3877a4
fix: SimpleURLLoaderWrapper redirects ( #21630 )
2019-12-31 10:47:08 +11:00
Jeremy Apthorp
54b4756a29
refactor: try just using regular [Sync] for MessageSync ( #20797 )
2019-12-17 11:35:28 -08:00
Milan Burda
6a03d3cc66
refactor: export internalWindowOpen from guest-window-manager ( #21498 )
2019-12-16 10:30:25 +09:00
Jeremy Apthorp
092e00f7f0
fix: fix ClientRequest.getUploadProgress ( #21388 )
2019-12-06 13:14:44 -08:00
Jeremy Apthorp
dc9beda182
feat: remove deprecated setLayoutZoomLevelLimits ( #21383 )
2019-12-06 13:14:25 -08:00
Shelley Vohr
4ac575416f
docs: fix return type of getPrinters ( #21411 )
2019-12-06 12:36:35 -08:00
Shelley Vohr
9e189eac71
fix: pass noLink correctly on Windows ( #21386 )
2019-12-05 13:38:57 -08:00
Shelley Vohr
5f365858c9
fix: correctly plumb checkboxChecked on win ( #21248 )
...
* fix: correctly plumb checkboxChecked on win
* address final style comment
2019-11-27 16:39:07 +09:00
Jeremy Apthorp
d25256dcf5
refactor: rewrite the net module to simplify state tracking ( #21244 )
2019-11-26 17:01:13 -08:00
Samuel Attard
34452ee69e
feat: expose executeJavaScriptInIsolatedWorld on webContents ( #21190 )
...
* feat: expose executeJavaScriptInIsolatedWorld on webContents
* Apply suggestions from code review
Co-Authored-By: loc <andy@slack-corp.com >
2019-11-22 15:33:55 -08:00
Jeremy Apthorp
4f1536479e
fix: implement 'login' event for net.ClientRequest ( #21096 )
2019-11-14 10:01:18 -08:00
Jeremy Apthorp
034f4d5734
fix: implement 'login' event for WebContents ( #20954 )
2019-11-11 09:47:01 -08:00
Samuel Attard
5b7382765c
feat: allow TouchBarButton instances to be disabled ( #20945 )
...
* feat: allow TouchBarButton instances to be disabled
* Update touch-bar-button.md
2019-11-05 15:56:36 -08:00
Milan Burda
01e18c2fc3
fix: cannot access nativeTheme via electron.remote ( #20938 )
2019-11-04 14:17:03 -08:00
Milan Burda
ee7ce3954a
fix: don't export __esModule = true by electron.ts ( #20939 )
2019-11-04 14:16:42 -08:00
Milan Burda
0c870775c4
fix: deprecation warnings in Electron code ( #20793 )
2019-10-29 13:16:10 +09:00
Milan Burda
bd5a5b3ae6
fix: properly generate requestID in webContents.printToPDF() ( #20769 )
2019-10-29 11:36:29 +09:00
Electron Bot
b6246dcf12
chore: bump chromium to f5b345dd470f14eef6e44732ccf23 (master) ( #20649 )
2019-10-28 15:12:35 -07:00
Alecyrus
825e67140e
feat: support fitToPageEnabled and scaleFactor ( #20436 )
...
* fix: support fitToPageEnabled and scaleFactor
Support fitToPageEnabled and scaleFactor in `WebContents.printToPDF()`
* fix: change default value of scaleFactor
2019-10-18 09:40:19 +09:00
Milan Burda
b92163d226
refactor: take advantage of structured clone algorithm in the remote module ( #20427 )
2019-10-10 09:59:08 -04:00