OLD | NEW |
1 // Run all the code in a local scope. | 1 // Run all the code in a local scope. |
2 (function(globalObject) { | 2 (function(globalObject) { |
3 | 3 |
4 // Save the list of property names of the global object before loading other scr
ipts. | 4 // Save the list of property names of the global object before loading other scr
ipts. |
5 var propertyNamesInGlobal = globalObject.propertyNamesInGlobal || Object.getOwnP
ropertyNames(globalObject); | 5 var propertyNamesInGlobal = globalObject.propertyNamesInGlobal || Object.getOwnP
ropertyNames(globalObject); |
6 | 6 |
7 if (self.importScripts) { | 7 if (self.importScripts) { |
8 importScripts('../../resources/js-test.js'); | 8 importScripts('../../resources/js-test.js'); |
9 | 9 |
10 if (!self.postMessage) { | 10 if (!self.postMessage) { |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 'Symbol', | 67 'Symbol', |
68 'SyntaxError', | 68 'SyntaxError', |
69 'TypeError', | 69 'TypeError', |
70 'URIError', | 70 'URIError', |
71 'Uint16Array', | 71 'Uint16Array', |
72 'Uint32Array', | 72 'Uint32Array', |
73 'Uint8Array', | 73 'Uint8Array', |
74 'Uint8ClampedArray', | 74 'Uint8ClampedArray', |
75 'WeakMap', | 75 'WeakMap', |
76 'WeakSet', | 76 'WeakSet', |
| 77 'WebAssembly', |
77 'decodeURI', | 78 'decodeURI', |
78 'decodeURIComponent', | 79 'decodeURIComponent', |
79 'encodeURI', | 80 'encodeURI', |
80 'encodeURIComponent', | 81 'encodeURIComponent', |
81 'escape', | 82 'escape', |
82 'eval', | 83 'eval', |
83 'isFinite', | 84 'isFinite', |
84 'isNaN', | 85 'isNaN', |
85 'parseFloat', | 86 'parseFloat', |
86 'parseInt', | 87 'parseInt', |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 }); | 179 }); |
179 memberNames.forEach(function(propertyKey) { | 180 memberNames.forEach(function(propertyKey) { |
180 collectPropertyInfo(globalObject, propertyKey, propertyStrings); | 181 collectPropertyInfo(globalObject, propertyKey, propertyStrings); |
181 }); | 182 }); |
182 propertyStrings.sort().forEach(debug); | 183 propertyStrings.sort().forEach(debug); |
183 | 184 |
184 if (isWorker()) | 185 if (isWorker()) |
185 finishJSTest(); | 186 finishJSTest(); |
186 | 187 |
187 })(this); // Run all the code in a local scope. | 188 })(this); // Run all the code in a local scope. |
OLD | NEW |