electron/shell/browser/api
electron-roller[bot] 2dd4b77ae0
chore: bump chromium to 136.0.7095.0 (36-x-y) (#46184)
* chore: bump chromium in DEPS to 136.0.7081.1

* chore: bump chromium in DEPS to 136.0.7083.1

* chore: bump chromium in DEPS to 136.0.7085.1

* chore: bump chromium in DEPS to 136.0.7087.1

* chore: bump chromium in DEPS to 136.0.7089.0

* chore: bump chromium in DEPS to 136.0.7091.0

* chore: bump chromium in DEPS to 136.0.7092.0

* chore: bump chromium in DEPS to 136.0.7093.1

* chore: bump chromium in DEPS to 136.0.7095.1

* chore: bump chromium in DEPS to 136.0.7097.1

* chore: bump chromium in DEPS to 136.0.7099.1

* chore: bump chromium in DEPS to 136.0.7101.0

* chore: bump chromium in DEPS to 136.0.7103.0

* chore: bump chromium in DEPS to 136.0.7103.15

* chore: bump chromium in DEPS to 136.0.7103.17

* chore: bump chromium to 136.0.7095.0 (main) (#46118)

* chore: bump chromium in DEPS to 136.0.7076.0

* chore: bump chromium in DEPS to 136.0.7077.0

* 6368856: Migrate absl variant.h and utility.h in content (part 2/2) | 6368856

* 6356528: Clean up LegacyRenderWidgetHostHWND code | 6356528

* chore: export patches

* 6339113: [Viewport Segments] Add CDP commands to override Viewport Segments without overriding other device properties. | 6339113

* 6352169: [DevTools][MultiInstance] Support new tab in another window on Android | 6352169

* 6368856: Migrate absl variant.h and utility.h in content (part 2/2) | 6368856

* 6360858:Clickiness: Wire response from URLLoader to DB, add e2e tests| 6360858

* chore: bump chromium in DEPS to 136.0.7079.0

* chore: export patches

* chore: bump chromium in DEPS to 136.0.7081.0

* chore: export patches

* chore: bump chromium in DEPS to 136.0.7083.0

* 6361987: Remove double-declaration with gfx::NativeView and gfx::NativeWindow | 6361987

* chore: export patches

* chore: bump chromium in DEPS to 136.0.7087.0

* chore: export patches

* fix: include node patch for missing AtomicsWaitEvent
6385540

* build: add depot_tools python to path

* fix: cppgc init and unregistering v8 isolate

6333562

CppGc is now initialized earlier so Node can skip reinitializing it.

Additionally, gin::IsolateHandle was attempting to destruct an already destructed
v8::Isolate upon electron::JavaScriptEnvironment destruction. By removing the call
to NodePlatform::UnregisterIsolate, this fixes the crash on app shutdown.

* fix: unregister isolate after destruction

See code comment.

* chore: bump chromium in DEPS to 136.0.7095.0

* chore: sync patches

* fix: add script_parsing::ContentScriptType parameter
6298395

* fix: migrate content::BrowserAccessibilityState methods
6401437
6383275

* feat: enableHappyEyeballs option for host resolver
6332599

* fix: add new cookie exclusion reason
6343479

* fix: add new url loader method
6337340

* fix: add new cppgc header file for electron_node headers
6348644

* fix: disable CREL on Linux ARM64
https://chromium-review.googlesource.com/q/I3a62f02f564f07be63173b0773b4ecaffbe939b9

* fixup! fix: add new cppgc header file for electron_node headers 6348644

* chore: update corner smoothing patch

* fixup! chore: update corner smoothing patch

* chore: disable NAN weak tests

These two tests are incompatible with a V8 change that disallows running JS code from a weak finalizer callback.

Ref: 4733273

* test: fix task starvation in node test

A V8 change makes these contexts get collected in a task that is posted
and run asynchronously. The tests were synchronously GC'ing in an
infinite loop, preventing the task loop from running the task that would
GC these contexts.

This change should be upstreamed in some way.

Ref: 4733273

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: alice <alice@makenotion.com>
Co-authored-by: Samuel Maddock <smaddock@slack-corp.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
Co-authored-by: clavin <clavin@electronjs.org>
(cherry picked from commit 9c019b6147)

* Remove file-wide unsafe buffer suppression from content/ [3 of N]

6341711

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-04-07 13:09:35 -05:00
..
views chore: bump chromium to 135.0.7015.0 (main) (#45500) 2025-02-18 11:51:27 -05:00
electron_api_app.cc chore: bump chromium to 136.0.7095.0 (36-x-y) (#46184) 2025-04-07 13:09:35 -05:00
electron_api_app.h refactor: remove unused electron::api::App::FileIconCallback (#46510) 2025-04-05 10:44:18 -05:00
electron_api_app_mac.mm chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_app_mas.mm chore: bump chromium to 117.0.5923.0 (main) (#39304) 2023-08-04 10:47:29 +02:00
electron_api_auto_updater.cc refactor: only pass v8::Context to gin_helper::MicrotasksScope constructor (#45484) 2025-02-07 10:44:19 +09:00
electron_api_auto_updater.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_base_window.cc feat: add BrowserWindow.isSnapped() (#46226) 2025-03-25 08:16:13 -05:00
electron_api_base_window.h feat: add BrowserWindow.isSnapped() (#46226) 2025-03-25 08:16:13 -05:00
electron_api_browser_window.cc refactor: unfilter unresponsive events (#44629) 2024-11-13 17:59:13 -08:00
electron_api_browser_window.h refactor: unfilter unresponsive events (#44629) 2024-11-13 17:59:13 -08:00
electron_api_content_tracing.cc refactor: in StopTracing(), use string literals instead of optional<string> (#45270) 2025-01-21 17:41:52 -06:00
electron_api_cookies.cc chore: bump chromium to 136.0.7095.0 (36-x-y) (#46184) 2025-04-07 13:09:35 -05:00
electron_api_cookies.h chore: remove unused isolate argument from Cookies constructor (#44907) 2024-12-02 11:34:21 -05:00
electron_api_crash_reporter.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_api_crash_reporter.h chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_data_pipe_holder.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
electron_api_data_pipe_holder.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_debugger.cc refactor: use base::as_string_view() (#45722) 2025-02-20 18:19:36 -06:00
electron_api_debugger.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_desktop_capturer.cc perf: don't wait for thumbnails if they were not requested on macOS (#46251) 2025-03-25 10:03:08 -05:00
electron_api_desktop_capturer.h feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
electron_api_desktop_capturer_mac.mm feat: add support for system picker in setDisplayMediaRequestHandler (#43581) 2024-09-10 16:05:57 -07:00
electron_api_dialog.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_download_item.cc refactor: return-braced-init-list pt 2 of 2 (#44870) 2024-11-29 11:44:33 -06:00
electron_api_download_item.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_event_emitter.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
electron_api_event_emitter.h chore: add ELECTRON_ prefix to C++ include guards (#31925) 2021-11-22 16:34:31 +09:00
electron_api_extensions.cc refactor: move extension APIs to session.extensions (#45597) 2025-02-21 17:36:51 -06:00
electron_api_extensions.h refactor: move extension APIs to session.extensions (#45597) 2025-02-21 17:36:51 -06:00
electron_api_global_shortcut.cc perf: avoid redundant map lookups in GlobalShortcut (#46261) 2025-03-25 13:09:14 -05:00
electron_api_global_shortcut.h refactor: remove unused v8::Isolate* arg from GlobalShortcut constructor (#45773) 2025-02-24 19:38:20 -06:00
electron_api_in_app_purchase.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_in_app_purchase.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_menu.cc feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_menu.h feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_menu_mac.h feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_menu_mac.mm feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_menu_views.cc feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_menu_views.h feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_native_theme.cc feat: add transparency checking to nativeTheme (#42862) 2024-07-24 14:38:22 +02:00
electron_api_native_theme.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_native_theme_mac.mm chore: cleanup arc migration helpers (#39606) 2023-08-23 09:54:21 -04:00
electron_api_net_log.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_api_net_log.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_notification.cc fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_notification.h fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_power_monitor.cc chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_power_monitor.h docs: fix spelling errors in code comments (#45842) 2025-02-28 12:24:00 +01:00
electron_api_power_monitor_mac.mm fix: user-did-{resign|become}-active events on macOS (#41506) 2024-03-06 12:43:39 +01:00
electron_api_power_monitor_win.cc chore: iwyu mojom-forward header files (#43741) 2024-09-17 12:58:56 -07:00
electron_api_power_save_blocker.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
electron_api_power_save_blocker.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_printing.cc chore: bump chromium to 135.0.7015.0 (main) (#45500) 2025-02-18 11:51:27 -05:00
electron_api_protocol.cc refactor: reduce coupling in electron::api::Protocol (#46182) 2025-03-21 12:54:11 -05:00
electron_api_protocol.h refactor: reduce coupling in electron::api::Protocol (#46182) 2025-03-21 12:54:11 -05:00
electron_api_push_notifications.cc chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
electron_api_push_notifications.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_push_notifications_mac.mm fix: APNS token ids are lowercase ASCII (#46149) 2025-03-20 16:52:23 -05:00
electron_api_safe_storage.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_api_screen.cc refactor: fix modernize-return-braced-init-list warnings (#44838) 2024-11-27 09:41:46 +09:00
electron_api_screen.h refactor: declare gin::Wrapper subclasses as final (#43527) 2024-09-04 18:40:02 -05:00
electron_api_service_worker_context.cc feat: ServiceWorkerMain (#45232) 2025-01-24 08:33:44 -05:00
electron_api_service_worker_context.h feat: ServiceWorkerMain (#45232) 2025-01-24 08:33:44 -05:00
electron_api_service_worker_main.cc perf: use absl::flat_hash_map instead of std::unordered_map (#46217) 2025-03-24 09:30:52 -05:00
electron_api_service_worker_main.h refactor: remove unused field ServiceWorkerMain::weak_factory_ (#46205) 2025-03-23 10:26:24 -05:00
electron_api_session.cc perf: avoid redundant map lookups in GetStorageMask() (#46346) 2025-03-28 12:27:28 -05:00
electron_api_session.h refactor: move extension APIs to session.extensions (#45597) 2025-02-21 17:36:51 -06:00
electron_api_system_preferences.cc chore: deprecate systemPreferences.isAeroGlassEnabled() (#45434) 2025-02-10 15:17:07 -05:00
electron_api_system_preferences.h chore: deprecate systemPreferences.isAeroGlassEnabled() (#45434) 2025-02-10 15:17:07 -05:00
electron_api_system_preferences_mac.mm chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_system_preferences_win.cc chore: deprecate systemPreferences.isAeroGlassEnabled() (#45434) 2025-02-10 15:17:07 -05:00
electron_api_tray.cc fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_tray.h fix: crash in gin::wrappable::secondweakcallback (#45368) 2025-01-29 10:20:37 -08:00
electron_api_utility_process.cc fix: UtilityProcess.fork crash before app ready (#46404) 2025-04-01 09:32:43 -05:00
electron_api_utility_process.h refactor: use private inheritance from mojo::MessageReceiver (#45996) 2025-03-12 23:20:55 -05:00
electron_api_view.cc refactor: use = default to define trivial destructors (#46190) 2025-03-22 11:10:54 -05:00
electron_api_view.h feat: view.getVisible() (#44999) 2025-01-31 13:27:16 -05:00
electron_api_web_contents.cc refactor: use base::flat_set in WebContents::DidUpdateFaviconUrl() (#46530) 2025-04-07 10:16:56 -05:00
electron_api_web_contents.h fix: build failure when printing is disabled (#46284) 2025-03-26 12:48:49 +01:00
electron_api_web_contents_impl.cc chore: bump chromium to 131.0.6734.0 (main) (#43769) 2024-09-25 06:19:39 -05:00
electron_api_web_contents_mac.mm chore: bump chromium to 127.0.6521.0 (main) (#42118) 2024-06-07 17:18:35 -04:00
electron_api_web_contents_view.cc refactor: remove InspectableWebContentsViewMac in favor of the Views version (#44628) 2025-01-17 10:21:10 -05:00
electron_api_web_contents_view.h feat: customize border radius of Views (#42320) 2024-07-16 20:16:25 -04:00
electron_api_web_frame_main.cc perf: avoid double map lookup in WebFrameMain::UpdateRenderFrameHost() (#46331) 2025-03-27 18:13:39 -05:00
electron_api_web_frame_main.h feat: add support for associating a Menu with a WebFrameMain (#46350) 2025-04-01 09:00:46 -05:00
electron_api_web_request.cc refactor: use C++20's contains() method (#45742) 2025-02-21 17:33:43 -06:00
electron_api_web_request.h feat: add excludeUrls and modify urls in WebRequestFilter for better URL filtering (#44692) 2025-02-17 12:40:47 -08:00
electron_api_web_view_manager.cc chore: rename built-in modules to bindings to match naming update in node (#37182) 2023-02-09 10:31:38 +09:00
frame_subscriber.cc refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
frame_subscriber.h refactor: put empty virtual function definitions in header (#43285) 2024-08-12 09:56:51 +02:00
gpu_info_enumerator.cc refactor: simplify code by using base::Value::EnsureList() (#41162) 2024-01-30 14:48:09 -06:00
gpu_info_enumerator.h refactor: remove unused system header includes (#46043) 2025-03-14 17:06:04 -05:00
gpuinfo_manager.cc fix: gin_helper::Promise in GPUInfoManager must be destroyed before destroying Node/V8 (#46471) 2025-04-03 18:05:13 -05:00
gpuinfo_manager.h fix: gin_helper::Promise in GPUInfoManager must be destroyed before destroying Node/V8 (#46471) 2025-04-03 18:05:13 -05:00
ipc_dispatcher.h refactor: dispatch IPC messages from Session (#45452) 2025-02-17 16:36:28 -05:00
message_port.cc perf: prefer absl::flat_hash_set over std::unordered_set (#46375) 2025-03-31 09:14:51 -05:00
message_port.h refactor: use private inheritance from mojo::MessageReceiver (#45996) 2025-03-12 23:20:55 -05:00
process_metric.cc build: make is_mas_build a generated header instead of config (#43737) 2024-09-17 01:38:56 -07:00
process_metric.h chore: bump chromium to 100.0.4857.0 (main) (#32419) 2022-02-09 18:58:52 -08:00
save_page_handler.cc chore: remove more unused #include calls (#43000) 2024-07-25 11:25:45 +02:00
save_page_handler.h chore: more iwyu (#43063) 2024-07-29 12:42:57 -05:00
ui_event.cc chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00
ui_event.h chore: used nested namespaces (#34737) 2022-06-29 12:55:47 -07:00