24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
Tests that WorkerGlobalScope's properties are on the prototype.
|
|
|
|
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
|
|
|
|
|
self.__proto__.__proto__ === WorkerGlobalScope.prototype: true
|
|
self.__proto__.__proto__.__proto__ === EventTarget.prototype: true
|
|
self.__proto__.__proto__.__proto__.__proto__ === {}.__proto__: true
|
|
self.__proto__.__proto__.hasOwnProperty('navigator') === true: true
|
|
self.__proto__.__proto__.hasOwnProperty('self') === true: true
|
|
self.__proto__.__proto__.hasOwnProperty('location') === true: true
|
|
self.__proto__.__proto__.hasOwnProperty('close') === false: true
|
|
self.__proto__.__proto__.hasOwnProperty('importScripts') === true: true
|
|
self.__proto__.__proto__.hasOwnProperty('indexedDB') === true: true
|
|
self.hasOwnProperty('navigator') === false: true
|
|
self.hasOwnProperty('location') === false: true
|
|
self.hasOwnProperty('close') === true: true
|
|
self.hasOwnProperty('postMessage') === true: true
|
|
self.hasOwnProperty('onmessage') === true: true
|
|
PASS successfullyParsed is true
|
|
|
|
TEST COMPLETE
|
|
|