Repository navigation
chore: bump chromium to 159.0.8130.0 (main) - #55472
Conversation
…dInterval" Upstream reverted the re-enabling of the unthrottled_interval DCHECK on macOS, which is exactly what Electron's chore_disable_beginframeargs_unthrottled_interval_dcheck_on_macos.patch restored. The patch now applies as "already applied", so remove it. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8669672 Co-Authored-By: Claude Fable 5.1 <[email protected]>
Upstream moved kTriggerNetworkDataMigration from chrome/browser/browser_features.h to content/public/common/content_features.h. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8487928 Co-Authored-By: Claude Fable 5.1 <[email protected]>
DevToolsSaveToFile looked up the previously saved path but never assigned the result, so a non-save-as save always re-prompted. The nodiscard attribute surfaced the dropped assignment; keep the result. Ref: https://chromium-review.googlesource.com/c/chromium/src/+/8671329 Co-Authored-By: Claude Fable 5.1 <[email protected]>
There was a problem hiding this comment.
I re-reviewed this roll after the follow-up commits and didn't find any bugs. The patches and DEPS have code owners, so the patch-owners and upgrades groups should still take a look.
What was reviewed (from a standalone clone, so no upstream Chromium source was available):
DevToolsSaveToFileinshell/browser/api/electron_api_web_contents.cc: before this change, theFindOrNullresult was thrown away. Now it is assigned topath, so a save that isn't "save as" reuses the stored path instead of opening the dialog again. The null check and the dialog fallback are unchanged.network_context_service.ccswaps one include so it can findfeatures::kTriggerNetworkDataMigrationin its new header. I couldn't check the new header without the upstream tree, but the compile CI will.- The deleted beginframeargs patch is also gone from
patches/chromium/.patches. In the File System Access blocklist patch, the new~/.cacheentry and the updated comment match on both sides of the code move.
Extended reasoning...
This is a Chromium DEPS roll. Most of it is patch re-export noise, plus one deleted patch, one change to the File System Access sensitive-path blocklist that mirrors upstream, and two small fixes in shell/. The only behavior change on Electron's side is that DevTools save-to-file now reuses saved paths again. The blocklist is security-relevant, but the patch moves the same entries upstream added and doesn't loosen anything. I deferred instead of approving because CODEOWNERS assigns /patches/ and DEPS to specific Electron working groups, and whether the patches apply can only be confirmed by CI against the pinned revision.
|
|
||
| if (!save_as) | ||
| base::FindOrNull(saved_files_, url); | ||
| path = base::FindOrNull(saved_files_, url); |
There was a problem hiding this comment.
@dsanders11 bugprone-unused-return-value might be a good clang-tidy candidate
|
Release Notes Persisted
|
|
I was unable to backport this PR to "46-x-y" cleanly; |
Apply the changes from #55472 (chore: bump chromium to 159.0.8130.0 (main)): * chore: bump chromium in DEPS to 159.0.8130.0 * 8668442: FSA: Block ~/.cache on all platforms in sensitive path blocklist (ported onto the 46-x-y layout of refactor_expose_file_system_access_blocklist.patch, which keeps its blocklist copy in the header) * 8669672: Revert "[Mac] Re-enable BeginFrameArgsTest.InvalidUnthrottledInterval" (removes chore_disable_beginframeargs_unthrottled_interval_dcheck_on_macos.patch) * 8487928: Restrict macOS network service sandbox with data migration * 8671329: Mark base::FindOrNull() and FindPtrOrNull() as nodiscard * chore: update patches Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KX1hkJp43WY91qLdNy5kyG
Bring the roll up to date with the latest 46-x-y. Conflict resolution: * DEPS: keep chromium_version 159.0.8130.0. * refactor_expose_file_system_access_blocklist.patch: take 46-x-y's version (with the #55344 blocklist sync) and re-apply the rules from #55417, #55436 and #55472 on top of it: /run, ~/.cache on all platforms, the Vim startup files, the .mvn kBlockWrite suffix rule, the updated base::DIR_CACHE comment and the 159.0.8129.0 description paragraph. * All other conflicting patch files only differed in index lines, hunk offsets and context from 46-x-y's 158.0.8127.0 refreshes; keep the roll's versions, which are refreshed for 159.0.8130.0. * patches/chromium/.patches: keep the patches 46-x-y added (fix_handle_a_null_pending_call_in_dbus_objectproxy.patch, feat_update_executioncontext_api.patch, use_forward_slashes_for_the_default_crdtp_include_dir_in_templates.patch). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KX1hkJp43WY91qLdNy5kyG
Updating Chromium to 159.0.8130.0.
See all changes in 159.0.8129.0..159.0.8130.0
Notes: Updated Chromium to 159.0.8130.0.