14 lines
557 B
Plaintext
14 lines
557 B
Plaintext
Tests that DedicatedWorkerGlobalScope's prototype chain is correct.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
DedicatedWorkerGlobalScope.prototype.toString() === "[object DedicatedWorkerGlobalScope]": true
|
|
Object.getPrototypeOf(DedicatedWorkerGlobalScope.prototype) === WorkerGlobalScope.prototype: true
|
|
WorkerGlobalScope.prototype.toString() === "[object WorkerGlobalScope]": true
|
|
Object.getPrototypeOf(WorkerGlobalScope.prototype) === EventTarget.prototype: true
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|