electron/spec
electron-roller[bot] 5d5e672f17
chore: bump chromium to 141.0.7361.0 (main) (#48054)
* chore: bump chromium in DEPS to 141.0.7352.0

* chore: update patches

* 6830573: Revert 'Migrate WrappableWithNamedPropertyInterceptor to gin::Wrappable' | https://chromium-review.googlesource.com/c/chromium/src/+/6830573

* chore: bump chromium in DEPS to 141.0.7354.0

* chore: bump chromium in DEPS to 141.0.7356.0

* chore: bump chromium in DEPS to 141.0.7357.0

* chore: bump chromium in DEPS to 141.0.7359.0

* chore: bump chromium in DEPS to 141.0.7361.0

* 6838518: [Mac] Correctly deallocate sandbox error buffers and prevent crash resulting from nullptr assignment | https://chromium-review.googlesource.com/c/chromium/src/+/6838518

* 6850973: Reland "Use base::ByteCount in base::SysInfo." | https://chromium-review.googlesource.com/c/chromium/src/+/6850973

* 6506565: [FPF-CI] Create initial NoiseHash in the browser. | https://chromium-review.googlesource.com/c/chromium/src/+/6506565

* chore: update patches

* fixup! 6850973: Reland "Use base::ByteCount in base::SysInfo." | https://chromium-review.googlesource.com/c/chromium/src/+/6850973

* fixup! 6506565: [FPF-CI] Create initial NoiseHash in the browser. | https://chromium-review.googlesource.com/c/chromium/src/+/6506565

* fix: unsafe buffer warning in fix_properly_honor_printing_page_ranges.patch

* fix: FTBFS in src_remove_dependency_on_wrapper-descriptor-based_cppheap.patch

This change should be upstreamed.

Fixes this error:

../../third_party/electron_node/src/env.cc:606:3: error: no matching function for call to 'Wrap'
  606 |   v8::Object::Wrap<v8::CppHeapPointerTag::kDefaultTag>(
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../v8/include/v8-object.h:1076:14: note: candidate function template not viable: cannot convert argument of incomplete type 'void *' to 'v8::Object::Wrappable *' for 3rd argument
 1076 | void Object::Wrap(v8::Isolate* isolate, const v8::Local<v8::Object>& wrapper,
      |              ^
 1077 |                   v8::Object::Wrappable* wrappable) {
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../v8/include/v8-object.h:1084:14: note: candidate function template not viable: no known conversion from 'Local<Object>' to 'const PersistentBase<Object>' for 2nd argument
 1084 | void Object::Wrap(v8::Isolate* isolate, const PersistentBase<Object>& wrapper,
      |              ^                          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../v8/include/v8-object.h:1093:14: note: candidate function template not viable: no known conversion from 'Local<Object>' to 'const BasicTracedReference<Object>' for 2nd argument
 1093 | void Object::Wrap(v8::Isolate* isolate,
      |              ^
 1094 |                   const BasicTracedReference<Object>& wrapper,
      |                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

* [v8-init] Access crash key only from main thread | https://chromium-review.googlesource.com/c/chromium/src/+/6827167

* chore: e patches all

* chore: remove chore_restore_some_deprecated_wrapper_utility_in_gin.patch from patches

this remove line got re-added when rebasing roller/chromium/main

* chore: e patches all

* fix: include base/time/time.h when using base::Time

* chore: update patches

* Make --host-rules an alias for --host-resolver-rules.

Refs https://chromium-review.googlesource.com/c/chromium/src/+/4867872

* ci: update BUILD_TOOLS_SHA

Refs https://github.com/electron/build-tools/pull/746

* [Fontations] Remove Fontations suffix from font names

Refs https://chromium-review.googlesource.com/c/chromium/src/+/6835930

* temp: debug macOS addon build failure

* Revert "temp: debug macOS addon build failure"

This reverts commit 40bc8abab65dc83e17c4ab97cb6e7522a193fb44.

* test: run tests with Xcode 16.4

* ci: fix tccdb update for macOS 15

* spec: disable opening external application for loadURL

on macOS opening unknown external application will bring
up dialog to choose apps from application store which will
break our other test suites that want to capture screen
for pixel matching.

The loadURL spec that tests bad-scheme://foo is sufficient
that we hit the permission handler for openExternal since
at that point we already know the runtime gave up on handling
the scheme.

* chore: rebase patches

* chore: disable codesiging tests

* ci: update ScreenCaptureApprovals.plist for /bin/bash

* ci: try updating tcc permissions

* ci: update TCC permissions

Refs https://www.rainforestqa.com/blog/macos-tcc-db-deep-dive

* chore: test with 1st quadrant of the window

* chore: adjust for macOS 15 menubar height

---------

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Keeley Hammond <khammond@slack-corp.com>
Co-authored-by: Keeley Hammond <vertedinde@electronjs.org>
Co-authored-by: Charles Kerr <charles@charleskerr.com>
Co-authored-by: deepak1556 <hop2deep@gmail.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2025-08-29 12:31:47 +09:00
..
fixtures fix: importing from electron/utility in ESM (#47998) 2025-08-09 09:47:47 +02:00
is-valid-window test: vendor node-is-valid-window (#39965) 2023-09-25 12:43:57 +02:00
lib chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
ts-smoke chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
.eslintrc.json build: drop eslint-plugin-unicorn (#47676) 2025-07-08 15:20:56 +02:00
.gitignore feat: add error event for utility process (#43774) 2024-09-27 10:17:06 +09:00
ambient.d.ts test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
api-app-spec.ts feat: Use DIR_ASSETS path to locate resource bundles (#47439) 2025-08-04 12:34:08 +09:00
api-auto-updater-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-autoupdater-darwin-spec.ts fix: Squirrel.Mac crash when zip extraction fails (#47271) 2025-05-29 10:31:46 -07:00
api-browser-view-spec.ts fix: BrowserWindow add the same BrowserView (#48053) 2025-08-28 10:31:41 +02:00
api-browser-window-spec.ts feat: add {get|set}AccentColor on Windows (#47741) 2025-08-01 22:29:02 +02:00
api-clipboard-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-content-tracing-spec.ts chore: disable flaky content tracing tests on Linux (#45612) 2025-02-14 10:18:42 +01:00
api-context-bridge-spec.ts feat: contextBridge.executeInMainWorld (#45229) 2025-01-23 21:12:46 -05:00
api-corner-smoothing-spec.ts fix: corner smoothing feature gate crash (#47759) 2025-07-16 08:39:17 -07:00
api-crash-reporter-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-debugger-spec.ts test: run script to help target discovery and reduce flakes (#44741) 2024-11-20 08:55:09 -06:00
api-desktop-capturer-spec.ts chore: bump chromium to 139.0.7219.0 (main) (#47348) 2025-06-16 12:46:06 -05:00
api-dialog-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-global-shortcut-spec.ts test: test menu rendering accelerators (#44634) 2025-05-06 14:09:35 -04:00
api-image-view-spec.ts docs: add documentation for ImageView (#46760) 2025-05-29 10:24:16 -07:00
api-in-app-purchase-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-ipc-main-spec.ts docs: Make ipcRenderer and ipcMain listener API docs consistent (#44651) 2024-11-18 14:44:30 -08:00
api-ipc-renderer-spec.ts docs: Make ipcRenderer and ipcMain listener API docs consistent (#44651) 2024-11-18 14:44:30 -08:00
api-ipc-spec.ts chore: bump chromium to 140.0.7281.0 (main) (#47616) 2025-07-14 13:42:37 -07:00
api-media-handler-spec.ts fix: crash on getUserMedia with invalid chromeMediaSourceId (#45733) 2025-02-21 10:17:52 -06:00
api-menu-item-spec.ts fix: stop menu minimization if set false (#46279) 2025-04-22 10:58:30 +02:00
api-menu-spec.ts test: test menu rendering accelerators (#44634) 2025-05-06 14:09:35 -04:00
api-native-image-spec.ts chore: bump chromium to 139.0.7256.0 (main) (#47481) 2025-06-26 00:12:49 +09:00
api-native-theme-spec.ts feat: expose nativeTheme.shouldUseDarkColorsForSystemIntegratedUI (#46438) 2025-04-10 12:08:29 +02:00
api-net-custom-protocols-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-net-log-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-net-session-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-net-spec.ts feat: [net] add "priority" option to net.request (#42628) 2025-05-30 15:28:13 -04:00
api-notification-dbus-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-notification-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-power-monitor-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-power-save-blocker-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-process-spec.ts refactor: eliminate duplicate code in spec/api-process-spec.ts (#45927) 2025-03-09 17:37:14 -05:00
api-protocol-spec.ts test: fixup flaky tests (#44349) 2024-10-23 15:14:50 -04:00
api-safe-storage-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-screen-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-service-worker-main-spec.ts feat: ServiceWorkerMain.scriptURL (#45863) 2025-03-14 21:00:13 -04:00
api-service-workers-spec.ts feat: service worker preload scripts for improved extensions support (#44411) 2025-01-31 09:32:45 -05:00
api-session-spec.ts fix: webContents.downloadURL() did not support referer header (#47625) 2025-07-23 10:37:24 +02:00
api-shell-spec.ts test: reenable disabled GHA windows tests (#45062) 2024-12-20 14:49:55 -05:00
api-subframe-spec.ts chore: bump chromium to 140.0.7281.0 (main) (#47616) 2025-07-14 13:42:37 -07:00
api-system-preferences-spec.ts chore: remove deprecated systemPreferences.isAeroGlassEnabled() (#45563) 2025-02-18 18:59:00 -06:00
api-touch-bar-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
api-tray-spec.ts feat: allow macOS tray to maintain position (#47838) 2025-08-07 19:25:50 +02:00
api-utility-process-spec.ts fix: importing from electron/utility in ESM (#47998) 2025-08-09 09:47:47 +02:00
api-view-spec.ts feat: view.getVisible() (#44999) 2025-01-31 13:27:16 -05:00
api-web-contents-spec.ts chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
api-web-contents-view-spec.ts chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
api-web-frame-main-spec.ts feat: webFrameMain.fromFrameToken (#47850) 2025-07-31 16:41:44 -04:00
api-web-frame-spec.ts chore: bump chromium to 140.0.7281.0 (main) (#47616) 2025-07-14 13:42:37 -07:00
api-web-request-spec.ts feat: add excludeUrls and modify urls in WebRequestFilter for better URL filtering (#44692) 2025-02-17 12:40:47 -08:00
api-web-utils-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
asar-integrity-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
asar-spec.ts chore: cleanup following internal switch to readPackageJSON (#44644) 2024-11-15 11:36:18 -05:00
autofill-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
chromium-spec.ts chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
cpp-heap-spec.ts refactor: allocate gin_helper::internal::Event on cpp heap (#48161) 2025-08-27 09:30:50 +09:00
crash-spec.ts fix: oob string read when parsing node_options (#46210) 2025-03-25 19:33:10 +09:00
deprecate-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
disabled-tests.json chore: disable tests that require nut.js (#42006) 2024-04-30 21:13:38 -04:00
esm-spec.ts fix: importing from electron/utility in ESM (#47998) 2025-08-09 09:47:47 +02:00
extensions-spec.ts chore: bump chromium to 140.0.7301.0 (main) (#47747) 2025-07-21 09:32:53 -07:00
fuses-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
get-files.ts chore: remove walkdir dev dependency (#42591) 2024-06-21 10:31:10 -04:00
guest-window-manager-spec.ts fix: offscreen mode under window.open creation (#47868) 2025-08-05 14:56:33 +02:00
index.js chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
logging-spec.ts fix: prevent log files being written to current directory on Windows (#44413) 2025-05-02 16:27:29 -05:00
modules-spec.ts fix: importing from electron/utility in ESM (#47998) 2025-08-09 09:47:47 +02:00
node-spec.ts fix: assert.ok in the renderer process (#46528) 2025-04-08 07:09:54 -05:00
package.json chore: remove remaining references to AppVeyor (#45339) 2025-02-07 12:57:36 +01:00
parse-features-string-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
pipe-transport.ts test: drop now-empty remote runner (#35343) 2022-08-16 15:23:13 -04:00
process-binding-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
release-notes-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
security-warnings-spec.ts feat: expose frame & move properties to console-message event object (#43617) 2024-10-18 16:07:06 -04:00
spellchecker-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
types-spec.ts chore: update node types version (#36924) 2023-01-18 14:46:27 +01:00
version-bump-spec.ts build: add import/order eslint rule (#44085) 2024-10-02 19:10:44 -07:00
visibility-state-spec.ts build: use github actions for windows (#44136) 2024-12-12 11:51:24 -05:00
webview-spec.ts chore: bump chromium to 141.0.7361.0 (main) (#48054) 2025-08-29 12:31:47 +09:00
yarn.lock chore: remove remaining references to AppVeyor (#45339) 2025-02-07 12:57:36 +01:00