| <!DOCTYPE html> |
| <meta charset="utf-8"> |
| <title>Test the name property of shared and dedicated workers via the name constructor option</title> |
| <link rel="help" href="https://html.spec.whatwg.org/multipage/#concept-workerglobalscope-name"> |
| <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-sharedworkerglobalscope-name"> |
| <link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-dedicatedworkerglobalscope-name"> |
| <link rel="author" title="Domenic Denicola" href="mailto:d@domenic.me"> |
| <link rel="author" title="Yusuke Suzuki" href="mailto:yusukesuzuki@slowstart.org"> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| |
| <script> |
| "use strict"; |
| |
| const worker = new Worker("support/no-name.js"); |
| fetch_tests_from_worker(worker); |
| </script> |