electron/lib/browser/api
Samuel Attard b8c2481edb
fix: do not handle write errors after request is aborted (#28682)
This fixes a flake on linux CI which started recently where the "write"
promise is being rejected after the request has been aborted /
cancelled.  In this case we should drop the error to the floor but
instead we pass it down the stack where it eventually emits a now
unhandled error event.

Example failure: https://app.circleci.com/pipelines/github/electron/electron/38072/workflows/c1faf19b-aa41-4f99-a564-165729222859/jobs/838813

Verified fix by running the test that caused it 10000 times before fix
and 10000 times after.  ~50 failures before, 0 after.
2021-04-19 09:50:14 -04:00
..
auto-updater refactor: ginify autoUpdater (#24678) 2020-07-28 11:04:34 -07:00
exports build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
views build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
app.ts refactor: ginify app (#24679) 2020-07-28 16:43:43 -07:00
auto-updater.ts chore: tsify auto-updater (#24328) 2020-07-01 12:27:12 -07:00
base-window.ts fix: isFullScreen typo (#27823) 2021-02-22 15:33:46 -05:00
browser-view.ts refactor: ginify BrowserView (#23578) 2020-07-09 08:48:39 -07:00
browser-window.ts fix: BrowserWindow.fromBrowserView in multiple-BrowserView windows (#26493) 2020-11-17 11:12:02 -08:00
content-tracing.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
crash-reporter.ts feat: allow omitting submitURL when uploadToServer is false (#28105) 2021-03-18 14:15:19 -07:00
desktop-capturer.ts feat: expose the desktopCapturer module in the main process (#23548) 2020-05-20 20:25:49 -04:00
dialog.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
global-shortcut.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
in-app-purchase.ts refactor: ginify InAppPurchase (#24674) 2020-07-23 14:55:41 -07:00
ipc-main.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
menu-item-roles.ts feat: add APIs to enable/disable spell checker (#26276) 2020-11-11 10:29:18 -05:00
menu-item.ts feat: add APIs to enable/disable spell checker (#26276) 2020-11-11 10:29:18 -05:00
menu-utils.ts fix: order menu items before filtering excess separators (#25563) 2020-09-23 10:39:08 -07:00
menu.ts chore: remove bunch of usages of any (#27512) 2021-01-29 12:41:59 -08:00
message-channel.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
module-list.ts feat: add support for share menu on macOS (#25629) 2020-10-19 18:33:06 -07:00
native-image.ts feat: add nativeImage.createThumbnailFromPath API (#24802) 2020-08-24 09:36:13 -07:00
native-theme.ts refactor: ginify NativeTheme (#24673) 2020-07-22 11:01:30 -07:00
net-log.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
net.ts fix: do not handle write errors after request is aborted (#28682) 2021-04-19 09:50:14 -04:00
notification.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
power-monitor.ts feat: add powerMonitor.onBatteryPower (#26494) 2020-11-16 16:31:46 -08:00
power-save-blocker.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
protocol.ts fix: make protocol wrapper remote-friendly again (#27009) 2020-12-16 16:56:53 +09:00
screen.ts fix: screen EventEmitter methods with remote (#26809) 2020-12-08 13:47:48 +09:00
session.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
share-menu.ts feat: add support for share menu on macOS (#25629) 2020-10-19 18:33:06 -07:00
system-preferences.ts chore: remove deprecated systemPreferences methods (#26849) 2020-12-16 08:34:24 +09:00
touch-bar.ts fix: make TouchBarPopover and TouchBarGroup work (#27901) 2021-03-01 13:34:00 -08:00
tray.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
view.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
web-contents-view.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
web-contents.ts feat: add more info in setWindowOpenHandler details (#28518) 2021-04-13 15:35:27 -04:00
web-frame-main.ts feat: add webFrameMain.send() / webFrameMain.postMessage() (#26807) 2021-01-15 09:00:37 +09:00