test: Node integration in web workers
This commit is contained in:
parent
ab83aa0bfd
commit
033aa16e04
8 changed files with 77 additions and 1 deletions
|
@ -441,6 +441,7 @@ void AtomRendererClient::AddSupportedKeySystems(
|
|||
|
||||
void AtomRendererClient::DidInitializeWorkerContextOnWorkerThread(
|
||||
v8::Local<v8::Context> context) {
|
||||
LOG(ERROR) << "DidInitializeWorkerContextOnWorkerThread";
|
||||
if (base::CommandLine::ForCurrentProcess()->HasSwitch(
|
||||
switches::kNodeIntegrationInWorker)) {
|
||||
WebWorkerObserver::GetCurrent()->ContextCreated(context);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue