electron/lib/browser
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
..
api
.eslintrc.json
default-menu.ts
desktop-capturer.ts
devtools.ts
guest-view-manager.ts
guest-window-manager.ts
guest-window-proxy.ts
init.ts
ipc-main-impl.ts
ipc-main-internal-utils.ts
ipc-main-internal.ts
message-port-main.ts
navigation-controller.ts
rpc-server.ts