Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /workers/constructors/Worker/expected-self-properties.worker.html - WPT Dashboard Interop Dashboard
importScripts("/resources/testharness.js");
var expected = ['XMLHttpRequest', 'WebSocket', 'EventSource', 'MessageChannel', 'Worker', 'SharedWorker'];
for (var i = 0; i < expected.length; ++i) {
var property = expected[i];
test(function() {
assert_true(property in self);
}, "existence of " + property);
}
done();