{"json_modified": "2016-05-03T12:54:06.807608", "uuid": "ff3ab4cf-288a-49fb-907b-34dd238a4feb", "title": "ChromeWorker", "url": "/en-US/docs/Web/API/ChromeWorker", "tags": ["Extensions", "API", "Workers", "js-ctypes", "Add-ons", "add-ons"], "translations": [], "modified": "2016-05-03T12:54:07", "label": "ChromeWorker", "localization_tags": [], "locale": "en-US", "id": 5526, "last_edit": "2016-05-03T12:54:03", "summary": "If you're developing privileged code, and would like to create a worker that can use js-ctypes to perform calls to native code, you can do so by using ChromeWorker instead of the standard Worker object. It works exactly like a standard Worker, except that it has access to js-ctypes via a global ctypes object available in the global scope of the worker. Examples of ChromeWorker's using js-ctypes are availabe on Github and are linked to from the See Also section below. To use a postMessage with callback version of ChromeWorker that features promises, see PromiseWorker.", "sections": [{"id": "Quick_Links", "title": null}, {"id": "Summary", "title": "Summary"}, {"id": "See_Also", "title": "See Also"}], "slug": "Web/API/ChromeWorker", "review_tags": []}