Skip to content

Commit

Permalink
docs: update window-open.md to include target (electron#39162)
Browse files Browse the repository at this point in the history
Update window-open.md to include target
  • Loading branch information
mlaurencin authored Jul 24, 2023
1 parent 2caf080 commit 09e6e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/window-open.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ window.open('https://github.com', '_blank', 'top=500,left=200,frame=false,nodeIn
* Non-standard features (that are not handled by Chromium or Electron) given in
`features` will be passed to any registered `webContents`'s
`did-create-window` event handler in the `options` argument.
* `frameName` follows the specification of `windowName` located in the [native documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#parameters).
* `frameName` follows the specification of `target` located in the [native documentation](https://developer.mozilla.org/en-US/docs/Web/API/Window/open#parameters).
* When opening `about:blank`, the child window's [`WebPreferences`](structures/web-preferences.md) will be copied
from the parent window, and there is no way to override it because Chromium
skips browser side navigation in this case.
Expand Down

0 comments on commit 09e6e4b

Please sign in to comment.