New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update to chromium 75.0.3740.3 #17507
Conversation
the sdk change commit and |
b05bd93
to
276087d
Compare
Another important change that went in this release is that windows builds switched to chromiums libc++ https://bugs.chromium.org/p/chromium/issues/detail?id=801780 , https://docs.google.com/document/d/1VPxepzuyWbXFzv1VpkSKEn0wPvSUffpcaOLislhcwrA/edit#heading=h.4r33ra48xro (check the design document). I think we should investigate the impact of this change. Unsurprisingly the build errors are related to this :) /cc @zcbenz |
@jkleinsc can we enable windows debug builds for the upgrade branches ? |
Native node modules may be affected, but I think we should be fine since the runtime library is linked dynamically in native modules. |
@deepak, I kicked off Windows debug builds |
I don't think this is true any more. See e.g. #16228, #14617 The design doc says:
and:
I think we should probably go with |
I agree, I'm getting a Windows VM set up at the moment so I'll give this a spin shortly 👍 |
@nornagon @MarshallOfSound please forgive my ignorance, but why stick with the "non-standard"/community supported route? |
@KoenLav because of node native modules. node native modules don't expect to be built against libc++ on windows & such may not compile. Additionally, we'd have to ship libc++'s headers with the electron header bundle and upstream changes to node-gyp and cmake-js to link against libc++ instead of msstl. it's a complicated situation with no great answers. sticking with msstl is the easiest option in the short term, but we may have to figure out something else in the long run. |
905c4f9
to
f20d4ee
Compare
data URLs are _always_ enabled in the network service now and this is enforced in the Content layer. Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
removed Unsure how the change in default of file_url_support affects us Refs: https://chromium-review.googlesource.com/c/chromium/src/+/1512337
…tocol NOLINT disables the linting error that we can't fix because its just implementing a content API. We also disable clang-format because it tries to format the // NOLINT onto a new line which doesn't exactly work
Adds a patch that reverts https://chromium-review.googlesource.com/c/v8/v8/+/1526195 in order to let native modules build. nan has a strong dependency on the IsNearDeath method. This needs to be solved upstream in nan or V8.
2a37635
to
63d6be0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, couple of questions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blocking on #17507 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All set 👍
@@ -738,7 +739,8 @@ void InspectableWebContentsImpl::DispatchProtocolMessage( | |||
if (message.length() < kMaxMessageChunkSize) { | |||
base::string16 javascript = | |||
base::UTF8ToUTF16("DevToolsAPI.dispatchMessage(" + message + ");"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol really, we don't escape this string at all?
@@ -52,7 +52,7 @@ def main(argv): | |||
if sys.platform == 'darwin': | |||
execute(['zip', '-r', '-y', dist_zip] + list(dist_files)) | |||
else: | |||
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED) as z: | |||
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, True) as z: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, True) as z: | |
with zipfile.ZipFile(dist_zip, 'w', zipfile.ZIP_DEFLATED, allowZip64=True) as z: |
is_fuchsia || is_android || is_mac || | ||
- (is_win && is_clang && !use_libfuzzer) || | ||
+ # Do not use custom libcxx on windows | ||
+ # (is_win && is_clang && !use_libfuzzer) || |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i'd recommend adding && !is_electron
here rather than commenting out.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Release Notes Persisted
|
BREAKING CHANGE: Upgraded to Chromium 75.
Notes: Upgraded to Chromium 75.
FIXME:
IsNearDeath
is removed from upstream --> 73d7119Requires Review:
Dealt with 796426aenable_file_url_support
can no longer be enabled by embedders: b1da14c