electron/shell/browser
Samuel Maddock 4057e6b56e
fix: DesktopCapturer gc'd prior to capture completion (#28273)
desktopCapture.getSources() returns a promise which should resolve
when capturing finishes. Internally it creates an instance of
DesktopCapturer which is responsible for resolving or rejecting
the promise.

Between the time DesktopCapturer starts capturing frames and when
it finishes, it's possible for its handle to be GC'd leading to
it never resolving.

These changes pin the instance of DesktopCapturer until it either
finishes or errors.

fixes #25595
2021-03-18 13:43:35 -07:00
..
api fix: DesktopCapturer gc'd prior to capture completion (#28273) 2021-03-18 13:43:35 -07:00
badging fix: navigator.setAppBadge/clearAppBadge from a service worker (#27950) 2021-03-05 10:12:03 +09:00
bluetooth fix: navigator.bluetooth.requestDevice (#27902) 2021-02-26 11:10:27 -08:00
extensions chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
lib fix: navigator.bluetooth.requestDevice (#27902) 2021-02-26 11:10:27 -08:00
linux
mac refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
media refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
net chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
notifications refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
osr chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
plugins chore: bump chromium to 1a093e6a0cb5e72ba78990fe39824 (master) (#24575) 2020-07-21 22:34:34 -07:00
printing chore: bump chromium to e836cbe709f3cd703f233de8eb6cc6ec99b72c9d (#27475) 2021-02-09 12:16:21 -08:00
resources Bump v14.0.0-nightly.20210318 2021-03-18 07:32:19 -07:00
serial chore: use auto to avoid repeating type (#26113) 2020-10-26 11:56:31 -07:00
ui refactor: cleanup how WebContents is destroyed (#27920) 2021-03-07 21:14:12 +09:00
win refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
auto_updater.cc chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) (#24687) 2020-08-12 11:33:58 -07:00
auto_updater.h refactor: ginify autoUpdater (#24678) 2020-07-28 11:04:34 -07:00
auto_updater_mac.mm refactor: ginify autoUpdater (#24678) 2020-07-28 11:04:34 -07:00
browser.cc fix: enable navigator.setAppBadge/clearAppBadge (#27067) 2021-01-21 14:45:06 +09:00
browser.h fix: enable navigator.setAppBadge/clearAppBadge (#27067) 2021-01-21 14:45:06 +09:00
browser_linux.cc fix: enable navigator.setAppBadge/clearAppBadge (#27067) 2021-01-21 14:45:06 +09:00
browser_mac.mm fix: enable navigator.setAppBadge/clearAppBadge (#27067) 2021-01-21 14:45:06 +09:00
browser_observer.h chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) (#24687) 2020-08-12 11:33:58 -07:00
browser_process_impl.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
browser_process_impl.h chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
browser_win.cc fix: enable navigator.setAppBadge/clearAppBadge (#27067) 2021-01-21 14:45:06 +09:00
child_web_contents_tracker.cc
child_web_contents_tracker.h
cookie_change_notifier.cc chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) (#26535) 2020-12-14 10:57:36 -08:00
cookie_change_notifier.h chore: bump chromium to 096e5313aaf19dfa0c4710145c34d (master) (#26535) 2020-12-14 10:57:36 -08:00
electron_autofill_driver.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
electron_autofill_driver.h chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
electron_autofill_driver_factory.cc Bump v12.0.0-nightly.20200827 2020-08-27 07:31:51 -07:00
electron_autofill_driver_factory.h Bump v12.0.0-nightly.20200827 2020-08-27 07:31:51 -07:00
electron_browser_client.cc fix: navigator.setAppBadge/clearAppBadge from a service worker (#27950) 2021-03-05 10:12:03 +09:00
electron_browser_client.h fix: navigator.setAppBadge/clearAppBadge from a service worker (#27950) 2021-03-05 10:12:03 +09:00
electron_browser_context.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
electron_browser_context.h chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
electron_browser_handler_impl.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
electron_browser_handler_impl.h refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
electron_browser_main_parts.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
electron_browser_main_parts.h fix: memory leak in BrowserWindow (#27621) 2021-02-05 13:20:20 -08:00
electron_browser_main_parts_mac.mm fix: crashReporter incompatible with sandbox on Linux (#23265) 2020-05-07 13:31:26 -07:00
electron_browser_main_parts_posix.cc refactor: align shutdown signal handling with upstream (#26559) 2020-11-19 16:00:34 -08:00
electron_download_manager_delegate.cc fix: don't create last saved path if none exists (#27745) 2021-02-18 15:27:29 -08:00
electron_download_manager_delegate.h fix: don't create last saved path if none exists (#27745) 2021-02-18 15:27:29 -08:00
electron_gpu_client.cc
electron_gpu_client.h
electron_javascript_dialog_manager.cc refactor: WebContents::From returns pointer (#24605) 2020-07-16 16:16:05 -07:00
electron_javascript_dialog_manager.h refactor: WebContents::From returns pointer (#24605) 2020-07-16 16:16:05 -07:00
electron_navigation_throttle.cc refactor: wire will-navigate up to a navigation throttle instead of OpenURL (#25065) 2020-08-21 12:34:09 -07:00
electron_navigation_throttle.h refactor: wire will-navigate up to a navigation throttle instead of OpenURL (#25065) 2020-08-21 12:34:09 -07:00
electron_pdf_web_contents_helper_client.cc
electron_pdf_web_contents_helper_client.h
electron_permission_manager.cc feat: route frame based permission checks through our permission check handler (#19903) 2020-12-07 15:44:56 -08:00
electron_permission_manager.h
electron_quota_permission_context.cc
electron_quota_permission_context.h
electron_speech_recognition_manager_delegate.cc
electron_speech_recognition_manager_delegate.h
electron_web_ui_controller_factory.cc chore: bump chromium to 7264889ce3aad1568ff3d211c81fe (master) (#27003) 2020-12-22 14:14:44 -08:00
electron_web_ui_controller_factory.h chore: bump chromium to 7264889ce3aad1568ff3d211c81fe (master) (#27003) 2020-12-22 14:14:44 -08:00
event_emitter_mixin.cc
event_emitter_mixin.h feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
extended_web_contents_observer.h fix: make draggable regions work when devtools is opened on macOS (#26361) 2020-11-09 16:54:04 -05:00
fake_location_provider.cc
fake_location_provider.h
feature_list.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
feature_list.h
file_select_helper.cc fix: transparently package bundles as zip archives (#25030) 2020-10-27 17:05:28 -07:00
file_select_helper.h fix: transparently package bundles as zip archives (#25030) 2020-10-27 17:05:28 -07:00
file_select_helper_mac.mm fix: transparently package bundles as zip archives (#25030) 2020-10-27 17:05:28 -07:00
font_defaults.cc chore: bump chromium to ec5bc1743792d64724693eb357083 (master) (#24984) 2020-09-21 01:00:36 -07:00
font_defaults.h chore: bump chromium to ec5bc1743792d64724693eb357083 (master) (#24984) 2020-09-21 01:00:36 -07:00
javascript_environment.cc fix: use the gin PageAllocator instead of V8::PageAllocator (#26331) 2020-11-09 13:57:24 -08:00
javascript_environment.h fix: let Node.js perform microtask checkpoint in the main process (#24131) 2020-06-17 10:08:10 -07:00
login_handler.cc refactor: WebContents::From returns pointer (#24605) 2020-07-16 16:16:05 -07:00
login_handler.h
microtasks_runner.cc refactor: use public node::CallbackScope where possible (#27001) 2020-12-15 11:39:25 -08:00
microtasks_runner.h
native_browser_view.cc refactor: remove native_browser_view web contents get function (#25526) 2020-09-21 10:39:58 -07:00
native_browser_view.h fix: draggable regions calculation in BrowserWindow/BrowserView (#26690) 2020-11-30 21:02:04 -08:00
native_browser_view_mac.h fix: draggable regions calculation in BrowserWindow/BrowserView (#26690) 2020-11-30 21:02:04 -08:00
native_browser_view_mac.mm fix: offset browserview drag regions on macOS (#27952) 2021-03-03 10:37:03 -08:00
native_browser_view_views.cc fix: unclickable regions in some draggable BrowserViews (#27143) 2021-01-04 11:22:14 -08:00
native_browser_view_views.h fix: draggable views on BrowserViews on Windows (#26738) 2020-12-01 15:03:00 -08:00
native_window.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
native_window.h fix: recalibrate simpleFullscreen when display metrics change (#28150) 2021-03-16 02:41:59 -07:00
native_window_mac.h fix: recalibrate simpleFullscreen when display metrics change (#28150) 2021-03-16 02:41:59 -07:00
native_window_mac.mm fix: recalibrate simpleFullscreen when display metrics change (#28150) 2021-03-16 02:41:59 -07:00
native_window_observer.h feat: add 'resized' event to BrowserWindow (#26216) 2020-11-11 19:27:24 -05:00
native_window_views.cc fix: handle a nil backgroundColor in win.getBackgroundColor() (#28120) 2021-03-14 17:26:47 -07:00
native_window_views.h feat: add win.setTopBrowserView() so that BrowserViews can be raised (#27007) 2021-02-10 16:23:35 +09:00
native_window_views_win.cc fix: do not run display check on "closed" windows in tray (#27615) 2021-02-05 12:11:26 -08:00
network_hints_handler_impl.cc refactor: ginify Session (#23569) 2020-05-19 10:18:12 -07:00
network_hints_handler_impl.h fix: hold browser_context instead of render_frame_host to fix lifetime issues (#23271) 2020-05-01 16:37:01 +09:00
pref_store_delegate.cc
pref_store_delegate.h
protocol_registry.cc chore: bump chromium to 90.0.4415.0 (master) (#27694) 2021-03-04 09:27:05 -08:00
protocol_registry.h
relauncher.cc chore: bump chromium to 0f4170320ff37e971064916aed1dc (master) (#23285) 2020-04-30 13:20:44 -07:00
relauncher.h
relauncher_linux.cc
relauncher_mac.cc
relauncher_win.cc chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) (#24256) 2020-07-13 21:13:34 -04:00
session_preferences.cc feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
session_preferences.h feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
special_storage_policy.cc chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) (#24256) 2020-07-13 21:13:34 -04:00
special_storage_policy.h chore: bump chromium to 6d130075d378a64187360ba4e7820 (master) (#24256) 2020-07-13 21:13:34 -04:00
unresponsive_suppressor.cc
unresponsive_suppressor.h
web_contents_permission_helper.cc feat: add serial api support (#25237) 2020-09-28 12:22:03 -04:00
web_contents_permission_helper.h feat: add serial api support (#25237) 2020-09-28 12:22:03 -04:00
web_contents_preferences.cc chore: remove deprecated remote module (#25734) 2021-03-09 17:12:40 -08:00
web_contents_preferences.h feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
web_contents_zoom_controller.cc refactor: Chromium code style for enum classes (#26165) 2020-10-27 10:51:45 -07:00
web_contents_zoom_controller.h refactor: Chromium code style for enum classes (#26165) 2020-10-27 10:51:45 -07:00
web_dialog_helper.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
web_dialog_helper.h refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
web_view_guest_delegate.cc feat: add webContents.setWindowOpenHandler API (#24517) 2020-11-10 09:06:03 -08:00
web_view_guest_delegate.h chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) (#25558) 2020-10-15 18:30:41 -07:00
web_view_manager.cc chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) (#25558) 2020-10-15 18:30:41 -07:00
web_view_manager.h chore: bump chromium to 6b9fa6b352d824d052222e1abe541 (master) (#25558) 2020-10-15 18:30:41 -07:00
window_list.cc chore: bump chromium to 0e4ca9c0a63d7a39bd910997ad4c6 (master) (#24687) 2020-08-12 11:33:58 -07:00
window_list.h
window_list_observer.h
zoom_level_delegate.cc refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00
zoom_level_delegate.h refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00