Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /workers/WorkerNavigator-hardware-concurrency.any.serviceworker.html - WPT Dashboard Interop Dashboard
- /workers/WorkerNavigator-hardware-concurrency.any.sharedworker.html - WPT Dashboard Interop Dashboard
- /workers/WorkerNavigator-hardware-concurrency.any.worker.html - WPT Dashboard Interop Dashboard
// META: global=worker
test(() => {
assert_true(navigator.hardwareConcurrency > 0);
}, 'Test worker navigator hardware concurrency.');