electron/shell
Fedor Indutny 99909baeac
fix: allow Node.js to manage microtasks queue (#28957)
* fix: allow Node.js to manage microtasks queue

When `uv_run()` resulted in invocation of JS functions the microtask
queue checkpoint in Node's CallbackScope was a no-op because the
expected microtask queue policy was `kExplicit` and Electron ran under
`kScoped` policy. This change switches policy to `kExplicit` right
before `uv_run()` and reverts it back to original value after `uv_run()`
completes to provide better compatibility with Node.

* add comment
2021-05-03 14:30:12 -07:00
..
app fix: call UnregisterIsolate consistently (#28486) 2021-04-06 16:10:34 -07:00
browser chore: Browser::SetAppUserModelID is Windows only (#28909) 2021-05-03 12:13:19 -04:00
common fix: allow Node.js to manage microtasks queue (#28957) 2021-05-03 14:30:12 -07:00
renderer refactor: replace --offscreen flag with ApplyWebPreferences (#28938) 2021-05-03 15:28:14 +02:00
utility refactor: use C++11 class member variable initialization (#27477) 2021-01-26 12:16:21 -06:00