Conversation
1ca2601 to
9f902b4
Compare
| std::unique_ptr<base::CallbackList<void(const CookieDetails*)>::Subscription> | ||
| URLRequestContextGetter::RegisterCookieChangeCallback( | ||
| const base::Callback<void(const CookieDetails*)>& cb) { | ||
| return cookie_change_sub_list_.Add(cb); |
There was a problem hiding this comment.
@deepak1556 Having the Subscription destroyed in UI thread with CallbackList destroyed in IO thread could cause race conditions on exit. Using content::NotificationService could be a safer choice, like what Chromium did with chrome::NOTIFICATION_COOKIE_CHANGED_FOR_EXTENSIONS.
There was a problem hiding this comment.
I went down that road but soon discovered that NotificationService is being removed https://bugs.chromium.org/p/chromium/issues/detail?id=268984 . So chose this instead, moving the ownership of CallbackList to BrowserContext should fix the thread issue. Thoughts ?
There was a problem hiding this comment.
moving the ownership of CallbackList to BrowserContext should fix the thread issue.
This sounds good to me.
@MarshallOfSound JFYI, both debug and release builds of Electron on Mac should be fine now ) |
ca29a2c to
fd87268
Compare
5de9acf to
c95084a
Compare
3a049c1 to
6bd2dcd
Compare
|
Any super-rough estimates on this one? |
@DominikLevitsky estimates almost always sound like promises, and I don't want to make any. |
6cbf4ce to
54deb37
Compare
|
I'm rebasing this branch and the branch in Node repo to port #11527. |
d2eb942 to
8510778
Compare
|
@codebytere @alexeykuzmin I have rebased the I have also pushed the fix to |
0aa29ce to
b45fb4d
Compare
|
Why Node 9? The LTS version of Node is 8.9. IMHO, it would be most wise to embed the LTS version of Node in the latest Electron. |
* update submodule refs for node v9.3.0 * Define "llvm_version" for Node.js build * NODE_MODULE_CONTEXT_AWARE_BUILTIN -> NODE_BUILTIN_MODULE_CONTEXT_AWARE * update NodePlatform to MultiIsolatePlatform * fix linting error * update node ref * REVIEW: Explicitly register builtin modules nodejs/node#16565 * update libcc ref * switch libcc to c62 * REVIEW: Address node api changes - Always start the inspector agent for nodejs/node#17085 - Set the tracing controller for node nodejs/node#15538 - Isolate data creation now requires plaform nodejs/node#16700
b12a114 to
7e3b690
Compare
|
It seems that everyone agrees to merge Chrome62. |
|
As this seems to be merged to main, when can we expect a release with Chromium 62? Soon-ish? |
|
@DominikLevitsky We don't have any release estimates at this time |
|
I was hoping to capture a screenshot of a specific node in Electron dev tools, but couldn't find the command. Turns out this feature was introduced in Chromium 62 and Electron is on 61 (so close!). It's not an urgent thing I need to do, but I'm curious if there's any ETA yet on the release with 62. |
🙅 DO NOT MERGE.
Work on upgrading to Chromium 62 with associated updates to crashpad & node.
PR to libcc: electron/libchromiumcontent#376
Project board: https://github.com/electron/electron/projects/6
/cc @ckerr @gavignus @alexeykuzmin