From 07b94ff5780868771721ed3f57930becea817a17 Mon Sep 17 00:00:00 2001 From: Bruce Auyeung Date: Fri, 22 Nov 2019 03:11:44 +0800 Subject: [PATCH] docs: clarify uniqueness of WebContents.id, BrowserWindow.id (#21101) --- docs/api/browser-window.md | 2 +- docs/api/web-contents.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api/browser-window.md b/docs/api/browser-window.md index 45a6dbcc9e50..fdba88f8eb18 100644 --- a/docs/api/browser-window.md +++ b/docs/api/browser-window.md @@ -772,7 +772,7 @@ events. #### `win.id` _Readonly_ -A `Integer` property representing the unique ID of the window. +A `Integer` property representing the unique ID of the window. Each ID is unique among all `BrowserWindow` instances of the entire Electron application. #### `win.autoHideMenuBar` diff --git a/docs/api/web-contents.md b/docs/api/web-contents.md index 163a0f9ac462..e15cca26027e 100644 --- a/docs/api/web-contents.md +++ b/docs/api/web-contents.md @@ -1771,7 +1771,7 @@ Only applicable if *offscreen rendering* is enabled. #### `contents.id` _Readonly_ -A `Integer` representing the unique ID of this WebContents. +A `Integer` representing the unique ID of this WebContents. Each ID is unique among all `WebContents` instances of the entire Electron application. #### `contents.session` _Readonly_