Ashley Claymore
Ashley Claymore
`v8.startupSnapshot.getAccessedEnvironment` looks good to me. We'd be able to use that to both: have an assertion that we don't regress by starting to read certain environment variables too eagerly (#55604...
I can imagine that being useful for asserting about ENV access in unit tests too. How would you recommend getting the set of environment variables read by Node internals during...
Actually for that I think I can use `--trace-env-native-stack` and the 'host' process that is orchestrating the snapshotting can parse out the accesses from the logs. The simplest thing would...
> just that the snapshot config route would keep the execArgv cleaner if it is actually building a snapshot Ah right, good point.
Thanks @ajvincent! Still 1.3 to go 😃
> I'm thinking about writing test262 tests, so I can prototype this in engine262 Yay! 🥳
`addAbortCallback` returning a disposable (`Symbol.dispose`) sounds useful to me - or are there concerns about always allocating an object that might only sometimes be used?