From ecf981a91a26f907116a2475bc55c8d565fce778 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Mon, 4 Jan 2021 20:27:18 -0800 Subject: [PATCH] docs: document frameId meaning (#27191) Co-authored-by: Jeremy Rose --- docs/api/web-contents.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index c8e87d1c1e..21c32d4b7c 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1695,7 +1695,9 @@ app.whenReady().then(() => { #### `contents.sendToFrame(frameId, channel, ...args)` -* `frameId` Integer | [number, number] +* `frameId` Integer | [number, number] - the ID of the frame to send to, or a + pair of `[processId, frameId]` if the frame is in a different process to the + main frame. * `channel` String * `...args` any[]