| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta charset="utf-8"> |
| <title>Resource Timing - Other initiatorType</title> |
| <link rel="help" href="https://w3c.github.io/resource-timing/#dom-performanceresourcetiming-initiatortype"> |
| <script src="/resources/testharness.js"></script> |
| <script src="/resources/testharnessreport.js"></script> |
| <script src="resources/rt-utilities.sub.js"></script> |
| </head> |
| <body> |
| <h1>Resource Timing: Other initiatorType</h1> |
| <div id="log"></div> |
| <script> |
| resource_entry_type_test({ |
| name: "other - Worker", |
| url: uniqueScriptURL("worker"), |
| initiatorType: "other", |
| generateResource(url) { |
| let worker = new Worker(url); |
| } |
| }); |
| |
| resource_entry_type_test({ |
| name: "other - EventSource", |
| url: uniqueEventSourceURL("event-source"), |
| initiatorType: "other", |
| generateResource(url) { |
| let eventSource = new EventSource(url); |
| } |
| }); |
| </script> |
| </body> |
| </html> |