electron/lib/browser/api
trop[bot] b896dbb103
fix: third time screen sharing on macOS (#43810)
Because we used decrementing negative source ids for fake video id when
instantating a native macOS screen share picker, we eventually hit the
`DesktopMediaID::kFakeId = -3` in Chromium source code which displayed a
test green screen.

In this change we reserve our own fake id of `-4` and decrement the
window id integer for uniqueness instead.

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Fedor Indutny <238531+indutny@users.noreply.github.com>
2024-09-19 22:12:19 -05:00
..
auto-updater fix: on error, reset spawnedProcess (#41033) 2024-01-24 16:45:08 -06:00
exports build: enable JS semicolons (#22783) 2020-03-20 13:28:31 -07:00
views build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
app.ts feat: Implement password delegate for NSS (#41205) 2024-07-17 09:48:03 -04:00
auto-updater.ts chore: tsify auto-updater (#24328) 2020-07-01 12:27:12 -07:00
base-window.ts fix: touch bar functionality on BaseWindow (#43422) 2024-08-22 16:03:33 +02:00
browser-view.ts fix: update BrowserView#lastWindowSize after window resize (#43636) 2024-09-09 17:40:27 +02:00
browser-window.ts fix: touch bar functionality on BaseWindow (#43422) 2024-08-22 16:03:33 +02:00
clipboard.ts refactor: split clipboard module implementation for browser / renderer (#38429) 2023-05-25 20:36:12 +09:00
content-tracing.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
crash-reporter.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
desktop-capturer.ts feat: add support for system picker in setDisplayMediaRequestHandler (#43680) 2024-09-11 09:57:39 -07:00
dialog.ts fix: dialogs should work with BaseWindows internally (#42315) 2024-05-31 12:04:22 +02:00
global-shortcut.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
in-app-purchase.ts feat: added username to IAP purchaseProduct method (#35902) 2022-12-12 10:11:48 -08:00
ipc-main.ts feat: add WebContents.ipc (#34959) 2022-08-03 16:55:12 -07:00
menu-item-roles.ts fix: menu should allow focused BaseWindow where possible (#43438) 2024-08-22 15:51:20 -05:00
menu-item.ts fix: menu should allow focused BaseWindow where possible (#43438) 2024-08-22 15:51:20 -05:00
menu-utils.ts refactor: replace .forEach() with for-of (#39691) 2023-08-31 23:36:43 +09:00
menu.ts fix: menu should allow focused BaseWindow where possible (#43438) 2024-08-22 15:51:20 -05:00
message-channel.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
module-list.ts feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
native-theme.ts chore: move main process only accessible API bindings away from common (#34634) 2022-06-21 16:34:56 +09:00
net-fetch.ts feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
net-log.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
net.ts feat: add net module to utility process (#40017) 2024-01-04 16:20:37 -05:00
notification.ts chore: move main process only accessible API bindings away from common (#34634) 2022-06-21 16:34:56 +09:00
power-monitor.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
power-save-blocker.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
protocol.ts fix: data corruption in protocol.handle (#41894) 2024-04-22 13:40:01 -07:00
push-notifications.ts feat: Enable APNS registration + notification delivery in macOS apps (#33574) 2022-07-12 08:38:49 -07:00
safe-storage.ts feat: add electron.safeStorage encryption API (#30020) 2021-08-05 15:12:54 -07:00
screen.ts chore: move main process only accessible API bindings away from common (#34634) 2022-06-21 16:34:56 +09:00
session.ts fix: third time screen sharing on macOS (#43810) 2024-09-19 22:12:19 -05:00
share-menu.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
system-preferences.ts feat: add transparency checking to nativeTheme (#42862) 2024-07-24 14:38:22 +02:00
touch-bar.ts fix: touch bar functionality on BaseWindow (#43422) 2024-08-22 16:03:33 +02:00
tray.ts refactor: prevent consistent early exception (#24191) 2020-06-22 20:32:45 -07:00
utility-process.ts fix: make sure classes in lib correctly implement Electron interfaces (#40291) 2023-10-25 14:02:15 -04:00
view.ts feat: replace BrowserView with WebContentsView (#35658) 2023-12-13 13:01:03 -08:00
web-contents-view.ts build: ensure that electron/lib/browser can only use browser or common imports (#24512) 2020-07-13 09:58:49 -07:00
web-contents.ts feat: extend navigationHistory API (#42014) 2024-08-19 15:46:04 -04:00
web-frame-main.ts refactor: use TypeError instead of generic Error when appropriate (#39209) 2023-07-25 12:08:46 -04:00