electron/docs/api/structures
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
..
bluetooth-device.md
certificate-principal.md
certificate.md
cookie.md
cpu-usage.md
crash-report.md
custom-scheme.md
desktop-capturer-source.md
display.md
event.md
extension-info.md
extension.md
file-filter.md
file-path-with-headers.md
gpu-feature-status.md
input-event.md
io-counters.md
ipc-main-event.md
ipc-main-invoke-event.md
ipc-renderer-event.md
jump-list-category.md
jump-list-item.md
keyboard-event.md
keyboard-input-event.md
memory-info.md
memory-usage-details.md
mime-typed-buffer.md
mouse-input-event.md
mouse-wheel-input-event.md
new-window-web-contents-event.md
notification-action.md
notification-response.md
point.md
post-body.md
printer-info.md
process-memory-info.md
process-metric.md
product.md
protocol-request.md
protocol-response-upload-data.md
protocol-response.md
rectangle.md
referrer.md
scrubber-item.md
segmented-control-segment.md
serial-port.md
service-worker-info.md
shared-worker-info.md
sharing-item.md
shortcut-details.md
size.md
task.md
thumbar-button.md
trace-categories-and-options.md
trace-config.md
transaction.md
upload-data.md
upload-file.md
upload-raw-data.md
web-source.md