From c68f0f04d0e0966905388447fba871fd1f335e71 Mon Sep 17 00:00:00 2001 From: "trop[bot]" <37223003+trop[bot]@users.noreply.github.com> Date: Tue, 5 Jan 2021 17:19:19 +0900 Subject: [PATCH] docs: document frameId meaning (#27189) 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 52504901c468b..757f7c428c7fe 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1622,7 +1622,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[]