-
Notifications
You must be signed in to change notification settings - Fork 16.2k
feat: Upgrade to Chromium 71.0.3578.98 #15966
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
Conversation
- # Enables Widevine key system support. Enabled by default in Google Chrome or | ||
- # on Android. Can be optionally enabled in Chromium. | ||
- enable_widevine = is_chrome_branded || is_android | ||
+ # Allow Widevine key system support in Chromium. |
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.
nit: we don't need to patch this comment
11f7703
to
c557736
Compare
06cba7c
to
ec4c329
Compare
I'm rebasing this branch to fix conflict with webview fixes. |
ec4c329
to
8e6ea7d
Compare
479c3cd
to
5a24bfd
Compare
b82b054
to
957a3d3
Compare
c1e0e1d
to
c8e461b
Compare
@@ -182,30 +183,21 @@ void AtomSandboxedRendererClient::DidCreateScriptContext( | |||
!IsDevToolsExtension(render_frame)) | |||
return; | |||
|
|||
// Wrap the bundle into a function that receives the binding object as | |||
// argument. |
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.
is this comment still accurate?
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.
Yup the per process loader essentially does the same, it runs the provided source under a scope that has these arguments in the global variable.
v8::Isolate* isolate = context->GetIsolate(); | ||
v8::HandleScope handle_scope(isolate); | ||
v8::Context::Scope context_scope(context); | ||
|
||
// Wrap the bundle into a function that receives the isolatedWorld as | ||
// an argument. |
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.
is this comment still accurate?
5572c19
to
f41f13b
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 with some comments
|
||
namespace { | ||
|
||
napi_value Print(napi_env env, napi_callback_info info) { |
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.
Why is this called Print
? Perhaps it should be called Echo
?
try { | ||
window.localStorage | ||
} catch (e) { | ||
message = e.message | ||
const {ipcRenderer} = require('electron') | ||
ipcRenderer.send('local-storage-response', e.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.
This looks like it won't send a message back if it doesn't throw, which will just make the test time out. Let's make tests fail fast & with useful error messages rather than dealing with yet another "test timed out" failure.
f41f13b
to
7fa67e1
Compare
Due to the migration to Custom Elements V1, the WebView element has to be defined in the DOM's context. To order to make WebView work with the contextIsolation, the definition of WebView element has been moved to a separate file.
per frame scheme previlege api are no longer available, scheme needs to be registered on the browser side with AtomContentClient::AddAdditionalSchemes
7fa67e1
to
8bec8e5
Compare
Release Notes Persisted
|
Description of Change
Refs https://github.com/orgs/electron/projects/26
BREAKING CHANGE
Checklist
npm test
passesRelease Notes
Notes: Upgrade to Chromium 71.0.3578.98