I have some metadataWorker.js
in my Chrome App, It is Web Worker and runs as follows:
metaThread = new Worker('/src/utils/metadataworker.js');
But I can't access the chrome
global object in metadataworker.js
.
Is there any way to use Chrome API (access the chrome
global object) in Web Worker?