electron/lib/browser
Jeremy Rose dba4df9326
feat: add more info in setWindowOpenHandler details (#28518)
* fix: invoke the window open handler for _blank links

* feat: add disposition to setWindowOpenHandler details

* fix: pass postData to new-window event

* postData can be heterogeneous

* fix type of postBody

* fix type of UploadFile and UploadRawData to be discriminated unions

* exclude the empty string from additionalFeatures

* add a test

* add postBody and referrer to setWindowOpenHandler args

* appease typescript

* Update api-browser-window-spec.ts

* update snapshots
2021-04-13 15:35:27 -04:00
..
api feat: add more info in setWindowOpenHandler details (#28518) 2021-04-13 15:35:27 -04:00
.eslintrc.json build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
default-menu.ts chore: update Community link in default menu (#28449) 2021-03-30 23:22:55 -07:00
desktop-capturer.ts fix: memory leak in desktopCapturer.getSources (#27031) 2020-12-16 16:11:39 -08:00
devtools.ts chore: update to latest TypeScript, which has built-in WeakRef declarations (#27425) 2021-01-22 11:25:47 -08:00
guest-view-manager.ts chore: remove deprecated remote module (#25734) 2021-03-09 17:12:40 -08:00
guest-window-manager.ts feat: add more info in setWindowOpenHandler details (#28518) 2021-04-13 15:35:27 -04:00
guest-window-proxy.ts feat: add more info in setWindowOpenHandler details (#28518) 2021-04-13 15:35:27 -04:00
init.ts chore: remove deprecated remote module (#25734) 2021-03-09 17:12:40 -08:00
ipc-main-impl.ts refactor: replace a few any-s with proper types (#25681) 2020-10-08 03:01:23 +02:00
ipc-main-internal-utils.ts chore: remove unused sendToAll + related APIs (#26771) 2020-12-03 15:55:50 +09:00
ipc-main-internal.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
message-port-main.ts build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
navigation-controller.ts refactor: move IPC handlers from navigation-controller to rpc-server (#26846) 2020-12-08 10:46:08 -08:00
rpc-server.ts refactor: load preload script directly as a string (#27546) 2021-02-08 09:32:20 -08:00