Skip to content

chore: bump chromium to 95.0.4612.5 (main) - #30503

Merged
jkleinsc merged 68 commits into
mainfrom
roller/chromium/main
Aug 24, 2021
Merged

jkleinsc merged 68 commits into
mainfrom
roller/chromium/main

Conversation

@electron-roller

@electron-roller electron-roller Bot commented Aug 11, 2021 •

Copy link
Copy Markdown
Contributor

Updating Chromium to 95.0.4612.5.

See all changes in 94.0.4590.2..95.0.4612.5

Notes: Updated Chromium to 95.0.4612.5.

@electron-roller
electron-roller Bot requested a review from a team as a code owner August 11, 2021 21:12
@electron-roller electron-roller Bot added backport-check-skip Skip trop's backport validity checking semver/patch backwards-compatible bug fixes labels Aug 11, 2021
@electron-cation electron-cation Bot added new-pr 🌱 PR opened recently and removed new-pr 🌱 PR opened recently labels Aug 11, 2021
@electron-roller electron-roller Bot changed the title chore: bump chromium to 94.0.4604.0 (main) chore: bump chromium to 94.0.4605.0 (main) Aug 12, 2021
@electron-roller electron-roller Bot changed the title chore: bump chromium to 94.0.4605.0 (main) chore: bump chromium to 94.0.4606.0 (main) Aug 13, 2021
@electron-roller electron-roller Bot changed the title chore: bump chromium to 94.0.4606.0 (main) chore: bump chromium to 94.0.4606.3 (main) Aug 14, 2021
@electron-roller electron-roller Bot changed the title chore: bump chromium to 94.0.4606.3 (main) chore: bump chromium to 95.0.4608.0 (main) Aug 15, 2021
@electron-roller electron-roller Bot changed the title chore: bump chromium to 95.0.4608.0 (main) chore: bump chromium to 95.0.4609.0 (main) Aug 16, 2021
@electron-roller electron-roller Bot changed the title chore: bump chromium to 95.0.4609.0 (main) chore: bump chromium to 95.0.4609.3 (main) Aug 17, 2021
@deepak1556
deepak1556 force-pushed the roller/chromium/main branch 2 times, most recently from ba4f18d to 5bac012 Compare August 17, 2021 20:09
Comment thread shell/browser/native_window_mac.mm Resolved
return;
}

+#if 0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are disabling pdf rasterization

settings.SetBoolKey(printing::kSettingRasterizePdf, false);
, the change follows suit with it.

Comment thread docs/api/cookies.md
* `path` String (optional) - The path of the cookie. Empty by default if omitted.
* `secure` Boolean (optional) - Whether the cookie should be marked as Secure. Defaults to
false.
false unless [Same Site=None](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite#samesitenone_requires_secure) attribute is used.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we signal this as breaking change in 14.x.y, considering 15-x-y will get this behavior ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO yes

@deepak1556 deepak1556 changed the title chore: bump chromium to 95.0.4609.3 (main) chore: bump chromium to 95.0.4612.5 (main) Aug 19, 2021
electron-roller Bot and others added 11 commits August 20, 2021 16:14
…to a file.

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

> this CL intentionally changes the name of the parameter
> in the network context parameters and the order of the constructor
> parameters to ensure all callers update their code to pass a full
> file path rather than a path to a directory.

The 'path' in this diff is already an absolute path, coming from
`CHECK(base::PathService::Get(chrome::DIR_USER_DATA, &path_));` at
https://github.com/electron/electron/blob/08ff1c2cbf73c8cfe6bca7976e3eddc3626678db/shell/browser/electron_browser_context.cc#L126
@deepak1556
deepak1556 force-pushed the roller/chromium/main branch from 0685f21 to 78669f8 Compare August 20, 2021 23:24
@deepak1556
deepak1556 force-pushed the roller/chromium/main branch from 29834cf to dbb9af3 Compare August 21, 2021 06:41
Dependency was missed in cbeae20
}

+ if (!is_mas_build) {
+ public_deps += [ "//components/crash/core/common:crash_key" ]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/cc @VerteDinde , might want to cherry-pick this to older branches..

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🙂 Will do that now

Subject: Revert "Roll clang llvmorg-14-init-1002-gb5e470aa-1 :
llvmorg-14-init-1380-gee659383-1"

This reverts commit 65172c258c45f5bc22f2018884d013b8d11f4b26.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jkleinsc is there a corresponding upstream issue ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I couldn't find one.

Comment thread docs/api/cookies.md
* `path` String (optional) - The path of the cookie. Empty by default if omitted.
* `secure` Boolean (optional) - Whether the cookie should be marked as Secure. Defaults to
false.
false unless [Same Site=None](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite#samesitenone_requires_secure) attribute is used.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMO yes

Comment thread shell/browser/native_window_mac.mm Resolved
response_ = network::mojom::URLResponseHead::New();
PopulateResourceResponse(url_request_.get(), is_load_timing_enabled_,
options_, response_.get());
+ if (raw_response_headers_ && devtools_request_id()) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is devtools_request_id the right way to filter this? Can we add a specific flag instead?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deepak1556 can you respond to @nornagon's question here? If there is an issue with this, I can followup in #30676.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was mainly trying to keep the patch as minimal as possible, hence tried to reuse the existing identifier that was added in https://chromium-review.googlesource.com/c/chromium/src/+/2856099.

But yeah this definitely isn't the one for readability, if we are fine with touching a couple more files as part of the patch then we can bring back the report_raw_headers boolean.

std::vector<predictors::PreconnectRequest> requests = {
{url::Origin::Create(url), num_sockets_to_preconnect,
net::NetworkIsolationKey()}};
net::NetworkIsolationKey::CreateTransient()}};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, is this correct? I don't know much about network isolation but it seems like preconnect might respond poorly to having a different network isolation key between the preconnect and the connect?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@deepak1556 can you respond to @nornagon's question here? If there is an issue with this, I can followup in #30676.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah you are right, I should have created the isolation key from the origin of preconnect url. The current implementation will definitely disallow sharing the sockets created in the preconnect step.

Comment thread build/args/all.gn

# TODO(deepak1556): remove once https://bugs.chromium.org/p/chromium/issues/detail?id=1241610
# is fixed.
enable_blink_heap_use_v8_oilpan = false

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

terrifying, is there some way we can ensure we don't release with this disabled?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like https://chromium.googlesource.com/v8/v8/+/4853c3ad81b178811814e7ab8fc28ecafe911e57 addresses the issue and should hit the chromium roll tomorrow. I'll check then and see if I can re-enable in #30676

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is there some way we can ensure we don't release with this disabled?

Can you expand on why it is bad to disable this flag ? I see that this feature was only enabled recently https://chromium-review.googlesource.com/c/chromium/src/+/3089152, so shouldn't the old code path be still fine to use ?

But it is great that upstream fixed the regression as well, we can turn it on again in the next roll.

@jkleinsc
jkleinsc merged commit 5513e66 into main Aug 24, 2021
@jkleinsc
jkleinsc deleted the roller/chromium/main branch August 24, 2021 00:52
@release-clerk

release-clerk Bot commented Aug 24, 2021

Copy link
Copy Markdown

Release Notes Persisted

Updated Chromium to 95.0.4612.5.

@nornagon

Copy link
Copy Markdown
Contributor

@jkleinsc it looks like this was merged despite a bunch of outstanding comments from me, was that intentional?

@jkleinsc

Copy link
Copy Markdown
Member

@nornagon yeah... I wanted to get the roll moving again with a green build. I'm happy to address outstanding issues in #30676.

BlackHole1 pushed a commit to BlackHole1/electron that referenced this pull request Aug 30, 2021
* chore: bump chromium in DEPS to 94.0.4604.0

* build: 3-way merge of chromium patches

* chore: bump chromium in DEPS to 94.0.4605.0

* build: 3-way merge of chromium patches

* 3076040: Reland Remove delete_children RemoveAllChildViews arg

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3076040

* 3069287: Remove the remaining uses and delete the deprecated API

Ref: https://chromium-review.googlesource.com/c/chromium/src/+/3069287

* 2297212: Replace RemoveWithoutPathExpansion(.*, nullptr) with Value::RemoveKey()

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

Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296

* 3082756: Change transport_security_persister_path param to be a path to a file.

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

> this CL intentionally changes the name of the parameter
> in the network context parameters and the order of the constructor
> parameters to ensure all callers update their code to pass a full
> file path rather than a path to a directory.

The 'path' in this diff is already an absolute path, coming from
`CHECK(base::PathService::Get(chrome::DIR_USER_DATA, &path_));` at
https://github.com/electron/electron/blob/08ff1c2cbf73c8cfe6bca7976e3eddc3626678db/shell/browser/electron_browser_context.cc#L126

* iwyu: network::mojom::HttpRawHeaderPair

* fixup! 3076040: Reland Remove delete_children RemoveAllChildViews arg

Missed one.

* 2999884: CodeHealth: Remove DictionaryValue::GetStringWithoutPathExpansion

Refs: https://chromium-review.googlesource.com/c/chromium/src/+/2999884
(example of replacing GetStringWithoutPathExpansion() w/FindStringKey())

Also: https://chromium-review.googlesource.com/c/chromium/src/+/3060296
(removal of DictionaryValue::GetStringWithoutPathExpansion)

* 3059260: Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure

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

We had both of these in a 'disable_features' list. Since these feature have
been removed upstream, remove them from our disable list, too.

IMPORTANT: this commit should not be backported to older branches that
still have these features, because doing so would un-disable them.

* 2920890: Load reroute_info from download in-progress and history db back into DownloadItem.

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

* 3039323: [Clipboard API] Clipboard Custom Formats implementation Part 5.

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

* chore: bump chromium in DEPS to 94.0.4606.0

* 3084502: Add a new PrintRasterizePdfDpi policy.

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

* chore: update patches

* chore: bump chromium in DEPS to 94.0.4606.3

* chore: bump chromium in DEPS to 95.0.4608.0

* chore: bump chromium in DEPS to 95.0.4609.0

* [DevTools] Remove report_raw_headers from network::ResourceRequest

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

* Remove content::WebContentsObserver::OnInterfaceRequestFromFrame

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

* Disable kDesktopCaptureMacV2

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

* Add a new PrintRasterizePdfDpi policy.

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

* chore: update patches

* chore: bump chromium in DEPS to 95.0.4609.3

* disable `use_lld` for macos

* chore: update patches

* Linux: use chrome_crashpad_handler instead of crashpad_handler

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

* chore: fix lint

* Revert "[DevTools] Remove report_raw_headers from network::ResourceRequest"

This reverts commit 28f4da1.

* [DevTools] Remove report_raw_headers from network::ResourceRequest (Attempt electron#2)

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

* DCHECK that predictor always has a non-empty NetworkIsolationKey.

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

* Remove --no-untrusted-code-mitigations from //content and //gin

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

* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure

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

* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure

* Convert PrintManager to RenderFrameHostReceiverSet.

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

* chore: bump chromium in DEPS to 95.0.4612.5

* chore: disable v8 oilpan

* [Compiler] Remove untrusted code mitigations.

https://chromium-review.googlesource.com/c/v8/v8/+/3045704

* Remove most FTP logic from services/network.

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

* Rename scale_factor.h -> resource_scale_factor.h

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

* [GURL -> SiteForCookies] extensions/

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

* breadcrumbs: add desktop entry point

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

* Move args_ to private in ExtensionFunction

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

* chore: iwyu

* fixup! Remove kSameSiteByDefaultCookies and kCookiesWithoutSameSiteMustBeSecure

* Disable kDesktopCaptureMacV2

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

* fixup! [Compiler] Remove untrusted code mitigations.

* fixup! Disable kDesktopCaptureMacV2

* Revert "chore: disable v8 oilpan"

This reverts commit 5d255cf.

* Reland "chore: disable v8 oilpan"

This reverts commit 1c25276.

The previous revert was to test on which platforms did the
heapsnapshot test actually fail.

* [Clipboard API] Clipboard Custom Formats implementation Part 5.

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

* Convert ExtensionFrameHost to RenderFrameHostReceiverSet.

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

* Convert PDFWebContentsHelper to RenderFrameHostReceiverSet.

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

* [Underscore Migration] Migrate ui/legacy

https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3093160

* chore: remove unknown permission error

* chore: fix lint

* chore: ignore -Wunreachable-code-return for node deps/

* fixup! chore: ignore -Wunreachable-code-return for node deps/

* fix: windows build

* fix: build dependency

Dependency was missed in cbeae20

* 3108669: arm,dsp: Fix 8bpp Dct64_NEON().

https://chromium-review.googlesource.com/c/codecs/libgav1/+/3108669

* chore: revert libgav1 roll

* Revert "3108669: arm,dsp: Fix 8bpp Dct64_NEON()."

This reverts commit 7ed3132.

* Revert "chore: revert libgav1 roll"

This reverts commit 084a490.

* chore: revert clang roll

* chore:  Fix -Wunreachable-code-aggressive warnings in arm and arm64 code

Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com>
Co-authored-by: Charles Kerr <[email protected]>
Co-authored-by: deepak1556 <[email protected]>
Co-authored-by: mlaurencin <[email protected]>
Co-authored-by: John Kleinschmidt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-check-skip Skip trop's backport validity checking no-backport roller/pause semver/patch backwards-compatible bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants