devel/electron39: Update to 39.8.10
Changelog: https://github.com/electron/electron/releases/tag/v39.8.10 Reported by: GitHub (watch releases)
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
PORTNAME= electron
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${ELECTRON_VER}
|
||||
PORTREVISION= 1
|
||||
PULSEMV= 16
|
||||
PULSEV= ${PULSEMV}.1
|
||||
CATEGORIES= devel
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
ELECTRON_VER= 39.8.9
|
||||
ELECTRON_VER= 39.8.10
|
||||
ELECTRON_VER_MAJOR= ${ELECTRON_VER:C/\..*//}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TIMESTAMP = 1777080658
|
||||
TIMESTAMP = 1778162404
|
||||
SHA256 (electron/chromium-142.0.7444.265.tar.xz.0) = 54ca3cf92f6a207a4e1b46fe016da7d515097f999b5e53ba4201adc906ae383e
|
||||
SIZE (electron/chromium-142.0.7444.265.tar.xz.0) = 2000000000
|
||||
SHA256 (electron/chromium-142.0.7444.265.tar.xz.1) = 289722408b81d862eb63f98cf47516308add8e18f5d62d2455c98942a2ebface
|
||||
@@ -9,10 +9,10 @@ SHA256 (electron/pulseaudio-16.1.tar.gz) = 027266c62f2a84422ac45fa721a649508f0f1
|
||||
SIZE (electron/pulseaudio-16.1.tar.gz) = 2763111
|
||||
SHA256 (electron/yarn-4.12.0.tgz) = bd58d06826ce9542c4cd904fe10bab7bc718ea2cc39a45d9fbd15f2edb45761c
|
||||
SIZE (electron/yarn-4.12.0.tgz) = 1056794
|
||||
SHA256 (electron/electron39-39.8.9-node-modules.tar.xz) = 17ab1f66434124efa142c546af69b55adb35b2ebcedce939dcb75b45d0e7a860
|
||||
SIZE (electron/electron39-39.8.9-node-modules.tar.xz) = 60007861
|
||||
SHA256 (electron/electron-electron-v39.8.9_GH0.tar.gz) = f7e8e04c7c90d9ee81532a181bc754b2673f7407662fc2183aec99fe9d04bfc8
|
||||
SIZE (electron/electron-electron-v39.8.9_GH0.tar.gz) = 17271747
|
||||
SHA256 (electron/electron39-39.8.10-node-modules.tar.xz) = 41c019d980a3844117f4d13e2dbaa894a0d36588cb1afe0d6209e995944d291e
|
||||
SIZE (electron/electron39-39.8.10-node-modules.tar.xz) = 60008030
|
||||
SHA256 (electron/electron-electron-v39.8.10_GH0.tar.gz) = 590723cf05511c2d1b79b7781f6f75c8df0e53955286428b36f28a587cdde6da
|
||||
SIZE (electron/electron-electron-v39.8.10_GH0.tar.gz) = 17308163
|
||||
SHA256 (electron/nodejs-node-v22.22.1_GH0.tar.gz) = 4d9ebbac6ba3f9610fdd5449274794a3b32305b33ca6f2fd476ac139024015c6
|
||||
SIZE (electron/nodejs-node-v22.22.1_GH0.tar.gz) = 129747267
|
||||
SHA256 (electron/nodejs-nan-e14bdcd1f72d62bca1d541b66da43130384ec213_GH0.tar.gz) = 02edf8d5b3fef9af94d8a1355da60564a57e7f2c99cb422bce042400607ed2eb
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
# Vendored Yarn release
|
||||
|
||||
This directory holds the Yarn release used by this repo (`yarnPath` in
|
||||
`.yarnrc.yml`). The release file is checked in so every contributor and CI job
|
||||
runs the exact same Yarn, and so we can carry small local patches when needed.
|
||||
|
||||
`releases/yarn-4.12.0.cjs` currently carries one such patch, described below.
|
||||
If you bump the Yarn version, read the **Upgrading Yarn** section first.
|
||||
|
||||
## Patch: use `JsZipImpl` for the node-modules link step
|
||||
|
||||
### What changed
|
||||
|
||||
Two call sites in `releases/yarn-4.12.0.cjs` are modified so the
|
||||
`node-modules` linker (and the `pnpm`-loose linker) construct their read-only
|
||||
`ZipOpenFS` with `customZipImplementation: ST` — Yarn's pure-JS `JsZipImpl` —
|
||||
instead of falling through to the default WASM-backed `LibZipImpl`:
|
||||
|
||||
```text
|
||||
new $f({maxOpenFiles:80,readOnlyArchives:!0})
|
||||
→ new $f({maxOpenFiles:80,readOnlyArchives:!0,customZipImplementation:ST})
|
||||
```
|
||||
|
||||
A comment block at the top of the `.cjs` file marks the file as patched and
|
||||
points back here.
|
||||
|
||||
### Why
|
||||
|
||||
On the `linux-arm` CI test shards we run a 32-bit `arm32v7` container. During
|
||||
`yarn install`'s **Link step**, Yarn opens up to 80 cache zips concurrently.
|
||||
With `LibZipImpl`, each open zip is `readFileSync`'d into a Node `Buffer`
|
||||
**and copied again into the WASM linear memory**, and every file read does a
|
||||
WASM `_malloc(size)` for the entry. The WASM heap has to grow as a single
|
||||
contiguous region of the 32-bit address space; once enough zips are resident,
|
||||
the `_malloc` for a large entry — most often `typescript/lib/typescript.js`
|
||||
(~9 MB inside a ~22 MB zip) — fails.
|
||||
|
||||
Yarn's cross-FS `copyFilePromise` swallows the underlying error and re-throws
|
||||
a generic one, so CI shows:
|
||||
|
||||
```text
|
||||
YN0001: While persisting .../typescript-patch-...zip/node_modules/typescript/
|
||||
EINVAL: invalid argument, copyfile '/node_modules/typescript/lib/typescript.js' -> '...'
|
||||
```
|
||||
|
||||
The unmasked form (occasionally seen on `pdfjs-dist`) is the WASM-heap failure
|
||||
string `Couldn't allocate enough memory`. This started failing ~1-in-3
|
||||
`linux-arm / test` shards at **Install Dependencies** on 2026-04-13, after
|
||||
[#50692](https://github.com/electron/electron/pull/50692) grew the cache enough
|
||||
to push the 32-bit process over the edge nondeterministically — e.g.
|
||||
[run 24739817558](https://github.com/electron/electron/actions/runs/24739817558/job/72380803746).
|
||||
|
||||
`JsZipImpl` avoids the problem entirely: it opens the zip by file descriptor,
|
||||
reads only the central directory into memory, and `readSync`s individual
|
||||
entries into ordinary Node `Buffer`s — **no WASM heap involved**. It is
|
||||
read-only and path-based, which is exactly how the linker uses these archives.
|
||||
|
||||
There is no `.yarnrc.yml` setting or environment variable to select the zip
|
||||
implementation (verified against the bundle), so editing the vendored release
|
||||
is the only way to switch it short of re-implementing the linker in a plugin.
|
||||
|
||||
Upstream references:
|
||||
[yarnpkg/berry#3972](https://github.com/yarnpkg/berry/issues/3972),
|
||||
[yarnpkg/berry#6722](https://github.com/yarnpkg/berry/issues/6722),
|
||||
[yarnpkg/berry#6550](https://github.com/yarnpkg/berry/issues/6550).
|
||||
|
||||
### Upgrading Yarn
|
||||
|
||||
When bumping `releases/yarn-*.cjs`:
|
||||
|
||||
1. Check whether upstream now defaults `readOnlyArchives` opens to `JsZipImpl`,
|
||||
or exposes a config knob for the zip implementation. If so, drop this patch.
|
||||
2. Otherwise, re-apply: search the new bundle for
|
||||
`maxOpenFiles:80,readOnlyArchives:!0` (the surrounding minified identifiers
|
||||
will differ) and add `,customZipImplementation:<JsZipImpl symbol>` — that
|
||||
symbol is whatever the new bundle exports as `JsZipImpl` from
|
||||
`@yarnpkg/libzip`.
|
||||
3. Re-add the header comment pointing back to this README.
|
||||
4. Verify with
|
||||
`rm -rf node_modules spec/node_modules && node script/yarn.js install --immutable --mode=skip-build`
|
||||
and confirm `node_modules/typescript/lib/typescript.js` is byte-identical to
|
||||
an unpatched install.
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "electron",
|
||||
"productName": "Electron",
|
||||
"main": "main.js",
|
||||
"type": "module"
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
{
|
||||
"main": "index.js",
|
||||
"types": "electron.d.ts",
|
||||
"bin": {
|
||||
"electron": "cli.js"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "node install.js"
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
"README.md",
|
||||
"abi_version",
|
||||
"checksums.json",
|
||||
"cli.js",
|
||||
"electron.d.ts",
|
||||
"index.js",
|
||||
"install.js"
|
||||
],
|
||||
"dependencies": {
|
||||
"@electron/get": "^2.0.0",
|
||||
"@types/node": "^22.7.7",
|
||||
"extract-zip": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 12.20.55"
|
||||
}
|
||||
}
|
||||
@@ -142,7 +142,8 @@
|
||||
"resolutions": {
|
||||
"dbus-native/xml2js": "0.5.0",
|
||||
"abstract-socket": "github:deepak1556/node-abstractsocket#928cc591decd12aff7dad96449da8afc29832c19",
|
||||
"minimist@npm:~0.0.1": "0.2.4"
|
||||
"minimist@npm:~0.0.1": "0.2.4",
|
||||
"put": "npm:@nornagon/put@0.0.8"
|
||||
},
|
||||
"packageManager": "yarn@4.12.0",
|
||||
"workspaces": [
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-app-path",
|
||||
"main": "lib/index.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-command-line",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-context-bridge-mutability",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-cookie-app",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-default-menu",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-exit-closes-all-windows",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-first-party-sets-base",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-first-party-sets-command-line",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-ipc-main-listeners",
|
||||
"main": "main.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-locale-check",
|
||||
"main": "main.js"
|
||||
}
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-mixed-sandbox",
|
||||
"main": "main.js"
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-net-log",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-quit-app",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-relaunch",
|
||||
"main": "main.js"
|
||||
}
|
||||
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-safe-storage",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-safe-storage",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-shared-dictionary-app",
|
||||
"main": "main.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-singleton-data",
|
||||
"main": "main.js"
|
||||
}
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-singleton-userdata",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-singleton",
|
||||
"main": "main.js"
|
||||
}
|
||||
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-menu",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-menu",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-utility-process-env-app",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-utility-process-inherit-stderr",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-utility-process-inherit-stdout",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-window-all-closed",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-crash",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-node-options-utility-process",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-open-new-window-from-link",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-refresh-page",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-remote-control",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-self-module-paths",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-set-path",
|
||||
"main": "main.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-xwindow-icon",
|
||||
"main": "main.js"
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-check-with-headers",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-check",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-initial-app",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-update-json",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-update-race",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-update-stack",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-update-triple-stack",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "electron-test-update",
|
||||
"version": "1.0.0",
|
||||
"main": "./index.js"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "main.mjs",
|
||||
"type": "module"
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"main": "index.mjs",
|
||||
"type": "module"
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"name": "electron-test-snapshot-items-available",
|
||||
"main": "main.js"
|
||||
}
|
||||
@@ -32,7 +32,7 @@
|
||||
"chai": "^4.2.0",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"coffeescript": "^2.4.1",
|
||||
"dbus-native": "github:nornagon/dbus-native#master",
|
||||
"dbus-native": "^0.4.0",
|
||||
"dirty-chai": "^2.0.1",
|
||||
"express": "^4.20.0",
|
||||
"graceful-fs": "^4.1.15",
|
||||
|
||||
@@ -1049,13 +1049,6 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@nornagon/put@npm:0.0.8":
|
||||
version: 0.0.8
|
||||
resolution: "@nornagon/put@npm:0.0.8"
|
||||
checksum: 10c0/855f9cee72d76570c76cdded2c3727ae7c3caa08208066ba77561675a43173bc62c8ee6dce6f4b64d65c5b465d20b4f9d986975ef3f2a6413e6f6c97bb5e1627
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@npmcli/agent@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "@npmcli/agent@npm:3.0.0"
|
||||
@@ -4203,16 +4196,16 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"dbus-native@github:nornagon/dbus-native#master":
|
||||
"dbus-native@npm:^0.4.0":
|
||||
version: 0.4.0
|
||||
resolution: "dbus-native@https://github.com/nornagon/dbus-native.git#commit=b90ed62d0b5cb93909173c3e0551d9bff0602a90"
|
||||
resolution: "dbus-native@npm:0.4.0"
|
||||
dependencies:
|
||||
"@nornagon/put": "npm:0.0.8"
|
||||
abstract-socket: "npm:^2.0.0"
|
||||
event-stream: "npm:^4.0.0"
|
||||
hexy: "npm:^0.2.10"
|
||||
long: "npm:^4.0.0"
|
||||
optimist: "npm:^0.6.1"
|
||||
put: "npm:0.0.6"
|
||||
safe-buffer: "npm:^5.1.1"
|
||||
xml2js: "npm:^0.4.17"
|
||||
dependenciesMeta:
|
||||
@@ -4220,7 +4213,7 @@ __metadata:
|
||||
optional: true
|
||||
bin:
|
||||
dbus2js: ./bin/dbus2js.js
|
||||
checksum: 10c0/4467ae4f9f1e9d5f7fc4d12f227a7cf5e45f77c89743646ccef7a1f89e5f37fbe671b47488cf78d6557fd6d4f2c3719f5c5a1de70078843e6b0f317d12aa55b1
|
||||
checksum: 10c0/f913bb8dc2162e0c6ee684dd7e63375005de2d238569f499b9478174ce31bcd089ea6bbddd629599a330218927e4bfe4fecaeb951db23aba4befd018f5f7ecfe
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
@@ -4626,7 +4619,7 @@ __metadata:
|
||||
chai: "npm:^4.2.0"
|
||||
chai-as-promised: "npm:^7.1.1"
|
||||
coffeescript: "npm:^2.4.1"
|
||||
dbus-native: "github:nornagon/dbus-native#master"
|
||||
dbus-native: "npm:^0.4.0"
|
||||
dirty-chai: "npm:^2.0.1"
|
||||
express: "npm:^4.20.0"
|
||||
graceful-fs: "npm:^4.1.15"
|
||||
@@ -10750,6 +10743,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"put@npm:@nornagon/put@0.0.8":
|
||||
version: 0.0.8
|
||||
resolution: "@nornagon/put@npm:0.0.8"
|
||||
checksum: 10c0/855f9cee72d76570c76cdded2c3727ae7c3caa08208066ba77561675a43173bc62c8ee6dce6f4b64d65c5b465d20b4f9d986975ef3f2a6413e6f6c97bb5e1627
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"q@npm:^1.5.1":
|
||||
version: 1.5.1
|
||||
resolution: "q@npm:1.5.1"
|
||||
|
||||
+8
-8
@@ -1,6 +1,6 @@
|
||||
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-04-07 06:15:27 UTC
|
||||
--- electron/shell/browser/api/electron_api_web_contents.cc.orig 2026-05-05 18:29:03 UTC
|
||||
+++ electron/shell/browser/api/electron_api_web_contents.cc
|
||||
@@ -162,11 +162,11 @@
|
||||
@@ -165,11 +165,11 @@
|
||||
#include "ui/base/cocoa/defaults_utils.h"
|
||||
#endif
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "ui/aura/window.h"
|
||||
#include "ui/gfx/font_render_params.h"
|
||||
#endif
|
||||
@@ -198,7 +198,7 @@
|
||||
@@ -201,7 +201,7 @@
|
||||
#include "content/public/browser/plugin_service.h"
|
||||
#endif
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "chrome/browser/hang_monitor/hang_crash_dump.h" // nogncheck
|
||||
#endif
|
||||
|
||||
@@ -572,7 +572,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
|
||||
@@ -575,7 +575,7 @@ std::optional<base::TimeDelta> GetCursorBlinkInterval(
|
||||
ui::TextInsertionCaretBlinkPeriodFromDefaults());
|
||||
if (system_value)
|
||||
return *system_value;
|
||||
@@ -32,7 +32,7 @@
|
||||
if (auto* native_theme = ui::NativeTheme::GetInstanceForNativeUi())
|
||||
return native_theme->caret_blink_interval();
|
||||
#elif BUILDFLAG(IS_WIN)
|
||||
@@ -937,7 +937,7 @@ void WebContents::InitWithSessionAndOptions(
|
||||
@@ -940,7 +940,7 @@ void WebContents::InitWithSessionAndOptions(
|
||||
accept_languages.pop_back();
|
||||
prefs->accept_languages = accept_languages;
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
// Update font settings.
|
||||
static const gfx::FontRenderParams params(
|
||||
gfx::GetFontRenderParams(gfx::FontRenderParamsQuery(), nullptr));
|
||||
@@ -2743,13 +2743,13 @@ void WebContents::ForcefullyCrashRenderer() {
|
||||
@@ -2766,13 +2766,13 @@ void WebContents::ForcefullyCrashRenderer() {
|
||||
|
||||
content::RenderProcessHost* rph = rwh->GetProcess();
|
||||
if (rph) {
|
||||
@@ -57,7 +57,7 @@
|
||||
CrashDumpHungChildProcess(rph->GetProcess().Handle());
|
||||
#endif
|
||||
rph->Shutdown(content::RESULT_CODE_HUNG);
|
||||
@@ -3433,7 +3433,7 @@ void WebContents::Focus() {
|
||||
@@ -3456,7 +3456,7 @@ void WebContents::Focus() {
|
||||
void WebContents::Focus() {
|
||||
// Focusing on WebContents does not automatically focus the window on macOS
|
||||
// and Linux, do it manually to match the behavior on Windows.
|
||||
@@ -66,7 +66,7 @@
|
||||
if (owner_window())
|
||||
owner_window()->Focus(true);
|
||||
#endif
|
||||
@@ -4324,7 +4324,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
|
||||
@@ -4347,7 +4347,7 @@ ui::ImageModel WebContents::GetDevToolsWindowIcon() {
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
+2
-2
@@ -1,6 +1,6 @@
|
||||
--- electron/shell/browser/osr/osr_host_display_client.cc.orig 2024-10-22 02:29:46 UTC
|
||||
--- electron/shell/browser/osr/osr_host_display_client.cc.orig 2026-05-05 18:29:03 UTC
|
||||
+++ electron/shell/browser/osr/osr_host_display_client.cc
|
||||
@@ -95,7 +95,7 @@ void OffScreenHostDisplayClient::CreateLayeredWindowUp
|
||||
@@ -102,7 +102,7 @@ void OffScreenHostDisplayClient::CreateLayeredWindowUp
|
||||
layered_window_updater_->SetActive(active_);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- electron/shell/browser/osr/osr_video_consumer.cc.orig 2025-10-27 17:58:27 UTC
|
||||
--- electron/shell/browser/osr/osr_video_consumer.cc.orig 2026-05-05 18:29:03 UTC
|
||||
+++ electron/shell/browser/osr/osr_video_consumer.cc
|
||||
@@ -128,7 +128,7 @@ void OffScreenVideoConsumer::OnFrameCaptured(
|
||||
@@ -129,7 +129,7 @@ void OffScreenVideoConsumer::OnFrameCaptured(
|
||||
#elif BUILDFLAG(IS_APPLE)
|
||||
texture.shared_texture_handle =
|
||||
reinterpret_cast<uintptr_t>(gmb_handle.io_surface().get());
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- electron/spec/api-protocol-spec.ts.orig 2025-11-13 22:50:46 UTC
|
||||
--- electron/spec/api-protocol-spec.ts.orig 2026-05-05 18:29:03 UTC
|
||||
+++ electron/spec/api-protocol-spec.ts
|
||||
@@ -1755,7 +1755,7 @@ describe('protocol module', () => {
|
||||
@@ -1897,7 +1897,7 @@ describe('protocol module', () => {
|
||||
|
||||
// TODO(nornagon): this test doesn't pass on Linux currently, investigate.
|
||||
// test is also flaky on CI on macOS so it is currently disabled there as well.
|
||||
|
||||
+4
-4
@@ -1,4 +1,4 @@
|
||||
--- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2025-11-14 09:16:34 UTC
|
||||
--- third_party/blink/renderer/platform/runtime_enabled_features.json5.orig 2026-05-07 14:02:50 UTC
|
||||
+++ third_party/blink/renderer/platform/runtime_enabled_features.json5
|
||||
@@ -344,7 +344,7 @@
|
||||
"default": "",
|
||||
@@ -90,7 +90,7 @@
|
||||
status: "experimental",
|
||||
public: true,
|
||||
base_feature_status: "enabled",
|
||||
@@ -5316,7 +5316,7 @@
|
||||
@@ -5321,7 +5321,7 @@
|
||||
name: "UnrestrictedSharedArrayBuffer",
|
||||
base_feature: "none",
|
||||
origin_trial_feature_name: "UnrestrictedSharedArrayBuffer",
|
||||
@@ -99,7 +99,7 @@
|
||||
},
|
||||
// Enables using policy-controlled feature "usb-unrestricted" to allow
|
||||
// isolated context to access protected USB interface classes and to
|
||||
@@ -5510,7 +5510,7 @@
|
||||
@@ -5515,7 +5515,7 @@
|
||||
{
|
||||
name: "WebAppScopeExtensions",
|
||||
origin_trial_feature_name: "WebAppScopeExtensions",
|
||||
@@ -108,7 +108,7 @@
|
||||
status: "experimental",
|
||||
base_feature: "none",
|
||||
},
|
||||
@@ -5618,7 +5618,7 @@
|
||||
@@ -5623,7 +5623,7 @@
|
||||
{
|
||||
name: "WebAuthenticationImmediateGet",
|
||||
origin_trial_feature_name: "WebAuthenticationImmediateGet",
|
||||
|
||||
Reference in New Issue
Block a user