electron/spec/fixtures
Fedor Indutny 06a00b74e8
fix: initialize asar support in worker threads (#33216)
* fix: initialize asar support in worker threads

Use `ObjectWrap` instead of gin's Wrap in `electron_api_asar.cc` because
gin isn't fully initialized (and apparently not possible to initialize
without ruining the isolate configuration and array buffer allocator) in
worker threads. In the worker thread call `setupAsarSupport` just as we
do for the main process.

* Update lib/asar/fs-wrapper.ts

Co-authored-by: Darshan Sen <raisinten@gmail.com>

* Update patches/node/worker_thread_add_asar_support.patch

Co-authored-by: Darshan Sen <raisinten@gmail.com>

* Add a test

Co-authored-by: Darshan Sen <raisinten@gmail.com>
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
2022-03-22 20:37:55 -04:00
..
api feat: Add first-instance-ack event to the app.requestSingleInstanceLock() flow (#31460) 2022-01-10 11:54:46 -05:00
assets feat: read/write Toast Activator CLSID in shortcuts (#25493) 2020-09-17 15:17:44 -07:00
certificates
module test: add spec for --require filtering in NODE_OPTIONS (#29501) 2021-06-03 14:46:44 +09:00
pages refactor: implement ajax() in tests using native fetch instead of jQuery (#32579) 2022-01-24 10:34:23 +01:00
snapshot-items-available ci: cleanup up test app directories (#25145) 2020-08-31 14:07:12 -04:00
test.asar fix: initialize asar support in worker threads (#33216) 2022-03-22 20:37:55 -04:00
workers test: worker should be able to load asar files (#28858) 2021-04-27 12:07:05 -04:00
zip
no-proprietary-codecs.js feat: enable context isolation by default (#26890) 2021-03-01 16:52:29 -05:00
testsnap.js
video-source-image.webp feat: add {stream} opt to custom protocol registry to configure media player (#22955) 2020-06-08 09:49:36 -07:00