paulmillr/es6-shim

2014-04-19 07:28:22
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓canary
✓10.0
✓17.0
✓22.0
✓23.0
✓24.0
nightly
5.1
✓6.0
5.0.5
✓12.0
15.0
✓6.0
✓6.0
4.2
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) not ok 350 Promise.all should be robust against tampering (2) Error: timeout of 2000ms exceeded at http://git.testling.com/work/paulmillr/repos/9c3ae12b4eeb8334d2a8afd173478e438e85556c.1397888082839/node_modules/mocha/mocha.js:4254:19 ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 362 # fail 1
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
not ok 1 Error: TypeError: 'undefined' is not a function
not ok 1 Error: TypeError: 'undefined' is not a function
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
firefox/nightly
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct not ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 362 # fail 1
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..364 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 266 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 267 Object Object.setPrototypeOf() set prototype should work ok 268 Object Object.setPrototypeOf() set prototype should be able to set to null ok 269 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 270 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 271 clean Object.prototype String repeat() should coerce to an integer ok 272 clean Object.prototype String repeat() should work ok 273 clean Object.prototype String repeat() should work on integers ok 274 clean Object.prototype String repeat() should work on booleans ok 275 clean Object.prototype String repeat() should work on dates ok 276 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String startsWith() should be truthy on correct results ok 278 clean Object.prototype String startsWith() should coerce to a string ok 279 clean Object.prototype String startsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 281 clean Object.prototype String endsWith() should be truthy on correct results ok 282 clean Object.prototype String endsWith() should coerce to a string ok 283 clean Object.prototype String endsWith() should not allow a regex ok 284 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 285 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String contains() should be truthy on correct results ok 287 clean Object.prototype String contains() should be falsy on incorrect results ok 288 clean Object.prototype String .fromCodePoint() throws a RangeError ok 289 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 290 clean Object.prototype String .fromCodePoint() has a length of zero ok 291 clean Object.prototype String .fromCodePoint() works ok 292 clean Object.prototype String .fromCodePoint() works with unicode ok 293 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 294 clean Object.prototype String codePointAt() should work ok 295 clean Object.prototype String codePointAt() should work with unicode ok 296 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 297 clean Object.prototype String iterator() should work with plain strings ok 298 clean Object.prototype String iterator() should work with surrogate characters ok 299 clean Object.prototype String .raw() should have a length of 1 ok 300 clean Object.prototype String .raw() String.raw Works with Array ok 301 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 302 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 303 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 304 clean Object.prototype String .raw() String.raw Empty objects ok 305 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 306 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 307 polluted Object.prototype String repeat() should coerce to an integer ok 308 polluted Object.prototype String repeat() should work ok 309 polluted Object.prototype String repeat() should work on integers ok 310 polluted Object.prototype String repeat() should work on booleans ok 311 polluted Object.prototype String repeat() should work on dates ok 312 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String startsWith() should be truthy on correct results ok 314 polluted Object.prototype String startsWith() should coerce to a string ok 315 polluted Object.prototype String startsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 317 polluted Object.prototype String endsWith() should be truthy on correct results ok 318 polluted Object.prototype String endsWith() should coerce to a string ok 319 polluted Object.prototype String endsWith() should not allow a regex ok 320 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 321 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String contains() should be truthy on correct results ok 323 polluted Object.prototype String contains() should be falsy on incorrect results ok 324 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 325 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 326 polluted Object.prototype String .fromCodePoint() has a length of zero ok 327 polluted Object.prototype String .fromCodePoint() works ok 328 polluted Object.prototype String .fromCodePoint() works with unicode ok 329 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 330 polluted Object.prototype String codePointAt() should work ok 331 polluted Object.prototype String codePointAt() should work with unicode ok 332 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 333 polluted Object.prototype String iterator() should work with plain strings ok 334 polluted Object.prototype String iterator() should work with surrogate characters ok 335 polluted Object.prototype String .raw() should have a length of 1 ok 336 polluted Object.prototype String .raw() String.raw Works with Array ok 337 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 338 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 339 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 340 polluted Object.prototype String .raw() String.raw Empty objects ok 341 Promise.all fulfills if passed an empty array ok 342 Promise.all fulfills if passed an empty array-like ok 343 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 344 Promise.all rejects if any passed promise is rejected ok 345 Promise.all resolves foreign thenables ok 346 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 347 Promise.all does not modify the input array ok 348 Promise.all should reject with a TypeError if given a non-iterable ok 349 Promise.all should be robust against tampering (1) ok 350 Promise.all should be robust against tampering (2) ok 351 Promise.all should be robust against tampering (3) ok 352 Promise.all should be robust against tampering (4) ok 353 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 354 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 355 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 356 Promise.race should settle in the same way as the first promise to settle ok 357 Promise.race should never settle when given an empty iterable ok 358 Promise.race should reject with a TypeError if given a non-iterable ok 359 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 360 Promise directly resolving the promise with itself ok 361 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 362 Support user subclassing of Promise should work if you do it right ok 363 Support user subclassing of Promise should throw if you inherit incompletely ok 364 Support user subclassing of Promise should throw if you don't inherit at all # tests 363 # pass 363 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() has the correct length ok 259 Object Object.assign() returns the modified target object ok 260 Object Object.assign() should merge two objects ok 261 Object Object.assign() should merge three objects ok 262 Object Object.assign() only iterates over own keys ok 263 Object Object.assign() throws when target is not an object ok 264 Object Object.assign() throws when any source is not an object ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
2014-04-10 09:20:38
9.0
✓10.0
25.0
26.0
27.0
28.0
29.0
canary
10.0
17.0
22.0
23.0
24.0
nightly
5.0.5
5.1
6.0
12.0
15.0
6.0
6.0
4.2
1..356 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 262 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 263 clean Object.prototype String repeat() should coerce to an integer ok 264 clean Object.prototype String repeat() should work ok 265 clean Object.prototype String repeat() should work on integers ok 266 clean Object.prototype String repeat() should work on booleans ok 267 clean Object.prototype String repeat() should work on dates ok 268 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 269 clean Object.prototype String startsWith() should be truthy on correct results ok 270 clean Object.prototype String startsWith() should coerce to a string ok 271 clean Object.prototype String startsWith() should not allow a regex ok 272 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String endsWith() should be truthy on correct results ok 274 clean Object.prototype String endsWith() should coerce to a string ok 275 clean Object.prototype String endsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 277 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 278 clean Object.prototype String contains() should be truthy on correct results ok 279 clean Object.prototype String contains() should be falsy on incorrect results ok 280 clean Object.prototype String .fromCodePoint() throws a RangeError ok 281 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 282 clean Object.prototype String .fromCodePoint() has a length of zero ok 283 clean Object.prototype String .fromCodePoint() works ok 284 clean Object.prototype String .fromCodePoint() works with unicode ok 285 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String codePointAt() should work ok 287 clean Object.prototype String codePointAt() should work with unicode ok 288 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 289 clean Object.prototype String iterator() should work with plain strings ok 290 clean Object.prototype String iterator() should work with surrogate characters ok 291 clean Object.prototype String .raw() should have a length of 1 ok 292 clean Object.prototype String .raw() String.raw Works with Array ok 293 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 294 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 295 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 296 clean Object.prototype String .raw() String.raw Empty objects ok 297 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 298 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 299 polluted Object.prototype String repeat() should coerce to an integer ok 300 polluted Object.prototype String repeat() should work ok 301 polluted Object.prototype String repeat() should work on integers ok 302 polluted Object.prototype String repeat() should work on booleans ok 303 polluted Object.prototype String repeat() should work on dates ok 304 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 305 polluted Object.prototype String startsWith() should be truthy on correct results ok 306 polluted Object.prototype String startsWith() should coerce to a string ok 307 polluted Object.prototype String startsWith() should not allow a regex ok 308 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String endsWith() should be truthy on correct results ok 310 polluted Object.prototype String endsWith() should coerce to a string ok 311 polluted Object.prototype String endsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 313 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 314 polluted Object.prototype String contains() should be truthy on correct results ok 315 polluted Object.prototype String contains() should be falsy on incorrect results ok 316 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 317 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 318 polluted Object.prototype String .fromCodePoint() has a length of zero ok 319 polluted Object.prototype String .fromCodePoint() works ok 320 polluted Object.prototype String .fromCodePoint() works with unicode ok 321 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String codePointAt() should work ok 323 polluted Object.prototype String codePointAt() should work with unicode ok 324 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 325 polluted Object.prototype String iterator() should work with plain strings ok 326 polluted Object.prototype String iterator() should work with surrogate characters ok 327 polluted Object.prototype String .raw() should have a length of 1 ok 328 polluted Object.prototype String .raw() String.raw Works with Array ok 329 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 330 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 331 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 332 polluted Object.prototype String .raw() String.raw Empty objects ok 333 Promise.all fulfills if passed an empty array ok 334 Promise.all fulfills if passed an empty array-like ok 335 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 336 Promise.all rejects if any passed promise is rejected ok 337 Promise.all resolves foreign thenables ok 338 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 339 Promise.all does not modify the input array ok 340 Promise.all should reject with a TypeError if given a non-iterable ok 341 Promise.all should be robust against tampering (1) ok 342 Promise.all should be robust against tampering (2) ok 343 Promise.all should be robust against tampering (3) ok 344 Promise.all should be robust against tampering (4) ok 345 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 346 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 347 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 348 Promise.race should settle in the same way as the first promise to settle ok 349 Promise.race should never settle when given an empty iterable ok 350 Promise.race should reject with a TypeError if given a non-iterable ok 351 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 352 Promise directly resolving the promise with itself ok 353 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 354 Support user subclassing of Promise should work if you do it right ok 355 Support user subclassing of Promise should throw if you inherit incompletely ok 356 Support user subclassing of Promise should throw if you don't inherit at all # tests 355 # pass 355 # fail 0
timeout waiting to hear back from iexplore/9.0
2014-04-10 09:17:50
✓9.0
✓10.0
25.0
26.0
27.0
28.0
29.0
canary
10.0
17.0
22.0
23.0
24.0
nightly
5.0.5
5.1
6.0
12.0
15.0
6.0
6.0
4.2
timeout waiting to hear back from firefox/10.0
1..356 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 262 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 263 clean Object.prototype String repeat() should coerce to an integer ok 264 clean Object.prototype String repeat() should work ok 265 clean Object.prototype String repeat() should work on integers ok 266 clean Object.prototype String repeat() should work on booleans ok 267 clean Object.prototype String repeat() should work on dates ok 268 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 269 clean Object.prototype String startsWith() should be truthy on correct results ok 270 clean Object.prototype String startsWith() should coerce to a string ok 271 clean Object.prototype String startsWith() should not allow a regex ok 272 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String endsWith() should be truthy on correct results ok 274 clean Object.prototype String endsWith() should coerce to a string ok 275 clean Object.prototype String endsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 277 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 278 clean Object.prototype String contains() should be truthy on correct results ok 279 clean Object.prototype String contains() should be falsy on incorrect results ok 280 clean Object.prototype String .fromCodePoint() throws a RangeError ok 281 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 282 clean Object.prototype String .fromCodePoint() has a length of zero ok 283 clean Object.prototype String .fromCodePoint() works ok 284 clean Object.prototype String .fromCodePoint() works with unicode ok 285 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String codePointAt() should work ok 287 clean Object.prototype String codePointAt() should work with unicode ok 288 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 289 clean Object.prototype String iterator() should work with plain strings ok 290 clean Object.prototype String iterator() should work with surrogate characters ok 291 clean Object.prototype String .raw() should have a length of 1 ok 292 clean Object.prototype String .raw() String.raw Works with Array ok 293 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 294 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 295 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 296 clean Object.prototype String .raw() String.raw Empty objects ok 297 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 298 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 299 polluted Object.prototype String repeat() should coerce to an integer ok 300 polluted Object.prototype String repeat() should work ok 301 polluted Object.prototype String repeat() should work on integers ok 302 polluted Object.prototype String repeat() should work on booleans ok 303 polluted Object.prototype String repeat() should work on dates ok 304 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 305 polluted Object.prototype String startsWith() should be truthy on correct results ok 306 polluted Object.prototype String startsWith() should coerce to a string ok 307 polluted Object.prototype String startsWith() should not allow a regex ok 308 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String endsWith() should be truthy on correct results ok 310 polluted Object.prototype String endsWith() should coerce to a string ok 311 polluted Object.prototype String endsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 313 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 314 polluted Object.prototype String contains() should be truthy on correct results ok 315 polluted Object.prototype String contains() should be falsy on incorrect results ok 316 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 317 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 318 polluted Object.prototype String .fromCodePoint() has a length of zero ok 319 polluted Object.prototype String .fromCodePoint() works ok 320 polluted Object.prototype String .fromCodePoint() works with unicode ok 321 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String codePointAt() should work ok 323 polluted Object.prototype String codePointAt() should work with unicode ok 324 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 325 polluted Object.prototype String iterator() should work with plain strings ok 326 polluted Object.prototype String iterator() should work with surrogate characters ok 327 polluted Object.prototype String .raw() should have a length of 1 ok 328 polluted Object.prototype String .raw() String.raw Works with Array ok 329 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 330 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 331 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 332 polluted Object.prototype String .raw() String.raw Empty objects ok 333 Promise.all fulfills if passed an empty array ok 334 Promise.all fulfills if passed an empty array-like ok 335 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 336 Promise.all rejects if any passed promise is rejected ok 337 Promise.all resolves foreign thenables ok 338 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 339 Promise.all does not modify the input array ok 340 Promise.all should reject with a TypeError if given a non-iterable ok 341 Promise.all should be robust against tampering (1) ok 342 Promise.all should be robust against tampering (2) ok 343 Promise.all should be robust against tampering (3) ok 344 Promise.all should be robust against tampering (4) ok 345 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 346 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 347 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 348 Promise.race should settle in the same way as the first promise to settle ok 349 Promise.race should never settle when given an empty iterable ok 350 Promise.race should reject with a TypeError if given a non-iterable ok 351 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 352 Promise directly resolving the promise with itself ok 353 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 354 Support user subclassing of Promise should work if you do it right ok 355 Support user subclassing of Promise should throw if you inherit incompletely ok 356 Support user subclassing of Promise should throw if you don't inherit at all # tests 355 # pass 355 # fail 0
1..356 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 262 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 263 clean Object.prototype String repeat() should coerce to an integer ok 264 clean Object.prototype String repeat() should work ok 265 clean Object.prototype String repeat() should work on integers ok 266 clean Object.prototype String repeat() should work on booleans ok 267 clean Object.prototype String repeat() should work on dates ok 268 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 269 clean Object.prototype String startsWith() should be truthy on correct results ok 270 clean Object.prototype String startsWith() should coerce to a string ok 271 clean Object.prototype String startsWith() should not allow a regex ok 272 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String endsWith() should be truthy on correct results ok 274 clean Object.prototype String endsWith() should coerce to a string ok 275 clean Object.prototype String endsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 277 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 278 clean Object.prototype String contains() should be truthy on correct results ok 279 clean Object.prototype String contains() should be falsy on incorrect results ok 280 clean Object.prototype String .fromCodePoint() throws a RangeError ok 281 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 282 clean Object.prototype String .fromCodePoint() has a length of zero ok 283 clean Object.prototype String .fromCodePoint() works ok 284 clean Object.prototype String .fromCodePoint() works with unicode ok 285 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 286 clean Object.prototype String codePointAt() should work ok 287 clean Object.prototype String codePointAt() should work with unicode ok 288 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 289 clean Object.prototype String iterator() should work with plain strings ok 290 clean Object.prototype String iterator() should work with surrogate characters ok 291 clean Object.prototype String .raw() should have a length of 1 ok 292 clean Object.prototype String .raw() String.raw Works with Array ok 293 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 294 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 295 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 296 clean Object.prototype String .raw() String.raw Empty objects ok 297 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 298 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 299 polluted Object.prototype String repeat() should coerce to an integer ok 300 polluted Object.prototype String repeat() should work ok 301 polluted Object.prototype String repeat() should work on integers ok 302 polluted Object.prototype String repeat() should work on booleans ok 303 polluted Object.prototype String repeat() should work on dates ok 304 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 305 polluted Object.prototype String startsWith() should be truthy on correct results ok 306 polluted Object.prototype String startsWith() should coerce to a string ok 307 polluted Object.prototype String startsWith() should not allow a regex ok 308 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String endsWith() should be truthy on correct results ok 310 polluted Object.prototype String endsWith() should coerce to a string ok 311 polluted Object.prototype String endsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 313 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 314 polluted Object.prototype String contains() should be truthy on correct results ok 315 polluted Object.prototype String contains() should be falsy on incorrect results ok 316 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 317 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 318 polluted Object.prototype String .fromCodePoint() has a length of zero ok 319 polluted Object.prototype String .fromCodePoint() works ok 320 polluted Object.prototype String .fromCodePoint() works with unicode ok 321 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 322 polluted Object.prototype String codePointAt() should work ok 323 polluted Object.prototype String codePointAt() should work with unicode ok 324 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 325 polluted Object.prototype String iterator() should work with plain strings ok 326 polluted Object.prototype String iterator() should work with surrogate characters ok 327 polluted Object.prototype String .raw() should have a length of 1 ok 328 polluted Object.prototype String .raw() String.raw Works with Array ok 329 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 330 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 331 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 332 polluted Object.prototype String .raw() String.raw Empty objects ok 333 Promise.all fulfills if passed an empty array ok 334 Promise.all fulfills if passed an empty array-like ok 335 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 336 Promise.all rejects if any passed promise is rejected ok 337 Promise.all resolves foreign thenables ok 338 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 339 Promise.all does not modify the input array ok 340 Promise.all should reject with a TypeError if given a non-iterable ok 341 Promise.all should be robust against tampering (1) ok 342 Promise.all should be robust against tampering (2) ok 343 Promise.all should be robust against tampering (3) ok 344 Promise.all should be robust against tampering (4) ok 345 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 346 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 347 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 348 Promise.race should settle in the same way as the first promise to settle ok 349 Promise.race should never settle when given an empty iterable ok 350 Promise.race should reject with a TypeError if given a non-iterable ok 351 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 352 Promise directly resolving the promise with itself ok 353 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 354 Support user subclassing of Promise should work if you do it right ok 355 Support user subclassing of Promise should throw if you inherit incompletely ok 356 Support user subclassing of Promise should throw if you don't inherit at all # tests 355 # pass 355 # fail 0
2014-03-31 21:42:23
✓9.0
✓10.0
✓25.0
✓26.0
✓27.0
✓28.0
✓29.0
✓canary
✓10.0
✓17.0
✓22.0
✓23.0
✓24.0
✓nightly
✓5.1
✓6.0
✓5.0.5
✓12.0
✓15.0
✓6.0
✓6.0
4.2
android-browser/4.2
timeout waiting to hear back from android-browser/4.2
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 106 polluted Object.prototype Array Arraykeys should have a length of zero ok 107 polluted Object.prototype Array Arraykeys should return 0 on first object ok 108 polluted Object.prototype Array Arraykeys should return 1 on second object ok 109 polluted Object.prototype Array Arraykeys should return 2 on third object ok 110 polluted Object.prototype Array Arraykeys should return 3 on fourth object ok 111 polluted Object.prototype Array Arraykeys should set done on completing iteration ok 112 polluted Object.prototype Array Arraykeys once done it should stay done ok 113 polluted Object.prototype Array Arraykeys should not skip sparse keys ok 114 polluted Object.prototype Array Arrayvalues should have a length of zero ok 115 polluted Object.prototype Array Arrayvalues should return 5 on first object ok 116 polluted Object.prototype Array Arrayvalues should return 10 on second object ok 117 polluted Object.prototype Array Arrayvalues should return 15 on third object ok 118 polluted Object.prototype Array Arrayvalues should return 20 on fourth object ok 119 polluted Object.prototype Array Arrayvalues should set done on completing iteration ok 120 polluted Object.prototype Array Arrayvalues once done it should stay done ok 121 polluted Object.prototype Array Arrayvalues should not skip sparse values ok 122 polluted Object.prototype Array Arrayentries should have a length of zero ok 123 polluted Object.prototype Array Arrayentries should return [0, 5] on first object ok 124 polluted Object.prototype Array Arrayentries should return [1, 10] on first object ok 125 polluted Object.prototype Array Arrayentries should return [2, 15] on first object ok 126 polluted Object.prototype Array Arrayentries should return [3, 20] on first object ok 127 polluted Object.prototype Array Arrayentries should set done on completing iteration ok 128 polluted Object.prototype Array Arrayentries once done it should stay done ok 129 polluted Object.prototype Array Arrayentries should not skip sparse entries ok 130 polluted Object.prototype Array Arrayfill has the right length ok 131 polluted Object.prototype Array Arrayfill works with just a value ok 132 polluted Object.prototype Array Arrayfill accepts a positive start index ok 133 polluted Object.prototype Array Arrayfill accepts a negative start index ok 134 polluted Object.prototype Array Arrayfill accepts a large start index ok 135 Collections map iteration ok 136 Collections set iteration ok 137 Collections Map should exist in global namespace ok 138 Collections Map should have the right arity ok 139 Collections Map should has valid getter and setter calls ok 140 Collections Map should accept an iterable as argument ok 141 Collections Map should not be callable without "new" ok 142 Collections Map should be subclassable ok 143 Collections Map treats positive and negative zero the same ok 144 Collections Map should map values correctly ok 145 Collections Map should map empty values correctly ok 146 Collections Map should has correct querying behavior ok 147 Collections Map should allow NaN values as keys ok 148 Collections Map should not have [[Enumerable]] props ok 149 Collections Map should allow common ecmascript idioms ok 150 Collections Map should has unique constructor ok 151 Collections Map Map.prototype.size should throw TypeError ok 152 Collections Map should have keys, values and size props ok 153 Collections Map should have an iterator that works with Array.from ok 154 Collections Map forEach should be iterable via forEach ok 155 Collections Map forEach should iterate over empty keys ok 156 Collections Map forEach should support the thisArg ok 157 Collections Map forEach should have a length of 1 ok 158 Collections Map forEach should not revisit modified keys ok 159 Collections Map forEach visits keys added in the iterator ok 160 Collections Map forEach visits keys added in the iterator when there is a deletion ok 161 Collections Map forEach does not visit keys deleted before a visit ok 162 Collections Map forEach should work after deletion of the current key ok 163 Collections Map forEach should convert key -0 to +0 ok 164 Collections Set should exist in global namespace ok 165 Collections Set should have the right arity ok 166 Collections Set should accept an iterable as argument ok 167 Collections Set should not be callable without "new" ok 168 Collections Set should be subclassable ok 169 Collections Set should has valid getter and setter calls ok 170 Collections Set should work as expected ok 171 Collections Set should has size ok 172 Collections Set should has clear method ok 173 Collections Set should allow NaN values as keys ok 174 Collections Set should not have [[Enumerable]] props ok 175 Collections Set should allow common ecmascript idioms ok 176 Collections Set should has unique constructor ok 177 Collections Set should have an iterator that works with Array.from ok 178 Collections Set Set.prototype.size should throw TypeError ok 179 Collections Set should throw proper errors when user invokes methods with wrong types of receiver # SKIP - ok 180 Collections Set forEach should be iterable via forEach ok 181 Collections Set forEach should iterate over empty keys ok 182 Collections Set forEach should support the thisArg ok 183 Collections Set forEach should have a length of 1 ok 184 Collections Set forEach should not revisit modified keys ok 185 Collections Set forEach visits keys added in the iterator ok 186 Collections Set forEach visits keys added in the iterator when there is a deletion (slow path) ok 187 Collections Set forEach visits keys added in the iterator when there is a deletion (fast path) ok 188 Collections Set forEach does not visit keys deleted before a visit ok 189 Collections Set forEach should work after deletion of the current key ok 190 Collections Set forEach should convert key -0 to +0 ok 191 Math acosh() should be correct ok 192 Math asinh() should be correct for NaN ok 193 Math asinh() should be correct for zeroes ok 194 Math asinh() should be correct for Infinities ok 195 Math asinh() should be correct ok 196 Math atanh() should be correct ok 197 Math cbrt() should be correct ok 198 Math .clz32() should have proper uint32 conversion ok 199 Math cosh() should be correct for NaN ok 200 Math cosh() should be correct for Infinities ok 201 Math cosh() should be correct for zeroes ok 202 Math cosh() should be correct ok 203 Math expm1() should be correct ok 204 Math hypot() should be correct ok 205 Math hypot() should coerce to a number ok 206 Math hypot() should take more than 3 arguments ok 207 Math hypot() should have the right length ok 208 Math hypot() works for very large or small numbers ok 209 Math log2() should be correct ok 210 Math log10 should be correct ok 211 Math log1p should be correct ok 212 Math sign() should be correct ok 213 Math sinh() should be correct ok 214 Math tanh() should be correct ok 215 Math trunc() should be correct ok 216 Math trunc() should coerce to a number immediately ok 217 Math imul() should be correct for non-numbers ok 218 Math imul() should be correct for hex values ok 219 Math imul() should be correct ok 220 Math Math.fround returns NaN for undefined ok 221 Math Math.fround returns NaN for NaN ok 222 Math Math.fround works for zeroes and infinities ok 223 Math Math.fround returns infinity for large numbers ok 224 Math Math.fround returns zero for really small numbers ok 225 Math Math.fround rounds properly ok 226 Math Math.fround rounds properly with the max float 32 ok 227 Math Math.fround rounds properly with the min float 32 ok 228 Number Number constants should have max safe integer ok 229 Number Number constants should have min safe integer ok 230 Number Number constants should has epsilon ok 231 Number Number.parseInt() should work ok 232 Number Number.parseFloat() should work ok 233 Number Number.isFinite() should work ok 234 Number Number.isFinite() should not be confused by type coercion ok 235 Number Number.isInteger() should be truthy on integers ok 236 Number Number.isInteger() should be false when the type is not number ok 237 Number Number.isInteger() should be false when NaN ok 238 Number Number.isInteger() should be false when ∞ ok 239 Number Number.isInteger() should be false when number is not integer ok 240 Number Number.isInteger() should be true when abs(number) is 2^53 or larger ok 241 Number Number.isInteger() should be true when abs(number) is less than 2^53 ok 242 Number Number.isSafeInteger() should be truthy on integers ok 243 Number Number.isSafeInteger() should be false when the type is not number ok 244 Number Number.isSafeInteger() should be false when NaN ok 245 Number Number.isSafeInteger() should be false when ∞ ok 246 Number Number.isSafeInteger() should be false when number is not integer ok 247 Number Number.isSafeInteger() should be false when abs(number) is 2^53 or larger ok 248 Number Number.isSafeInteger() should be true when abs(number) is less than 2^53 ok 249 Number Number.isNaN() should be truthy only on NaN ok 250 Object Object.keys() works on strings ok 251 Object Object.keys() throws on null or undefined ok 252 Object Object.keys() works on other primitives ok 253 Object Object.is() should compare regular objects correctly ok 254 Object Object.is() should compare 0 and -0 correctly ok 255 Object Object.is() should compare NaNs correctly ok 256 Object Object.getPropertyDescriptor() should produce an array of properties including inherited ones ok 257 Object Object.getPropertyNames() should produce an array of property names including inherited ones ok 258 Object Object.assign() returns the modified target object ok 259 Object Object.assign() should merge two objects ok 260 Object Object.assign() only iterates over own keys ok 261 Object Object.setPrototypeOf() argument checking should throw TypeError if first arg is not object ok 262 Object Object.setPrototypeOf() argument checking should throw TypeError if second arg is not object or null ok 263 Object Object.setPrototypeOf() set prototype should work ok 264 Object Object.setPrototypeOf() set prototype should be able to set to null ok 265 clean Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 266 clean Object.prototype String repeat() should throw a RangeError when negative or infinite ok 267 clean Object.prototype String repeat() should coerce to an integer ok 268 clean Object.prototype String repeat() should work ok 269 clean Object.prototype String repeat() should work on integers ok 270 clean Object.prototype String repeat() should work on booleans ok 271 clean Object.prototype String repeat() should work on dates ok 272 clean Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 273 clean Object.prototype String startsWith() should be truthy on correct results ok 274 clean Object.prototype String startsWith() should coerce to a string ok 275 clean Object.prototype String startsWith() should not allow a regex ok 276 clean Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 277 clean Object.prototype String endsWith() should be truthy on correct results ok 278 clean Object.prototype String endsWith() should coerce to a string ok 279 clean Object.prototype String endsWith() should not allow a regex ok 280 clean Object.prototype String endsWith() should handle negative and zero positions properly ok 281 clean Object.prototype String contains() should throw a TypeError when called on null or undefined ok 282 clean Object.prototype String contains() should be truthy on correct results ok 283 clean Object.prototype String contains() should be falsy on incorrect results ok 284 clean Object.prototype String .fromCodePoint() throws a RangeError ok 285 clean Object.prototype String .fromCodePoint() returns the empty string with no args ok 286 clean Object.prototype String .fromCodePoint() has a length of zero ok 287 clean Object.prototype String .fromCodePoint() works ok 288 clean Object.prototype String .fromCodePoint() works with unicode ok 289 clean Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 290 clean Object.prototype String codePointAt() should work ok 291 clean Object.prototype String codePointAt() should work with unicode ok 292 clean Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 293 clean Object.prototype String iterator() should work with plain strings ok 294 clean Object.prototype String iterator() should work with surrogate characters ok 295 clean Object.prototype String .raw() should have a length of 1 ok 296 clean Object.prototype String .raw() String.raw Works with Array ok 297 clean Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 298 clean Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 299 clean Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 300 clean Object.prototype String .raw() String.raw Empty objects ok 301 polluted Object.prototype String repeat() should throw a TypeError when called on null or undefined ok 302 polluted Object.prototype String repeat() should throw a RangeError when negative or infinite ok 303 polluted Object.prototype String repeat() should coerce to an integer ok 304 polluted Object.prototype String repeat() should work ok 305 polluted Object.prototype String repeat() should work on integers ok 306 polluted Object.prototype String repeat() should work on booleans ok 307 polluted Object.prototype String repeat() should work on dates ok 308 polluted Object.prototype String startsWith() should throw a TypeError when called on null or undefined ok 309 polluted Object.prototype String startsWith() should be truthy on correct results ok 310 polluted Object.prototype String startsWith() should coerce to a string ok 311 polluted Object.prototype String startsWith() should not allow a regex ok 312 polluted Object.prototype String endsWith() should throw a TypeError when called on null or undefined ok 313 polluted Object.prototype String endsWith() should be truthy on correct results ok 314 polluted Object.prototype String endsWith() should coerce to a string ok 315 polluted Object.prototype String endsWith() should not allow a regex ok 316 polluted Object.prototype String endsWith() should handle negative and zero positions properly ok 317 polluted Object.prototype String contains() should throw a TypeError when called on null or undefined ok 318 polluted Object.prototype String contains() should be truthy on correct results ok 319 polluted Object.prototype String contains() should be falsy on incorrect results ok 320 polluted Object.prototype String .fromCodePoint() throws a RangeError ok 321 polluted Object.prototype String .fromCodePoint() returns the empty string with no args ok 322 polluted Object.prototype String .fromCodePoint() has a length of zero ok 323 polluted Object.prototype String .fromCodePoint() works ok 324 polluted Object.prototype String .fromCodePoint() works with unicode ok 325 polluted Object.prototype String codePointAt() should throw a TypeError when called on null or undefined ok 326 polluted Object.prototype String codePointAt() should work ok 327 polluted Object.prototype String codePointAt() should work with unicode ok 328 polluted Object.prototype String codePointAt() should return undefined when pos is negative or too large ok 329 polluted Object.prototype String iterator() should work with plain strings ok 330 polluted Object.prototype String iterator() should work with surrogate characters ok 331 polluted Object.prototype String .raw() should have a length of 1 ok 332 polluted Object.prototype String .raw() String.raw Works with Array ok 333 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as Integer ok 334 polluted Object.prototype String .raw() String.raw Works with Objects , Keys as String ok 335 polluted Object.prototype String .raw() String.raw ReturnIfAbrupt - Less Substitutions ok 336 polluted Object.prototype String .raw() String.raw Empty objects ok 337 Promise.all fulfills if passed an empty array ok 338 Promise.all fulfills if passed an empty array-like ok 339 Promise.all fulfills if passed an array of mixed fulfilled promises and values ok 340 Promise.all rejects if any passed promise is rejected ok 341 Promise.all resolves foreign thenables ok 342 Promise.all fulfills when passed an sparse array, giving `undefined` for the omitted values ok 343 Promise.all does not modify the input array ok 344 Promise.all should reject with a TypeError if given a non-iterable ok 345 Promise.all should be robust against tampering (1) ok 346 Promise.all should be robust against tampering (2) ok 347 Promise.all should be robust against tampering (3) ok 348 Promise.all should be robust against tampering (4) ok 349 Evil promises should not be able to break invariants resolving to a promise that calls onFulfilled twice ok 350 Promise.race should fulfill if all promises are settled and the ordinally-first is fulfilled ok 351 Promise.race should reject if all promises are settled and the ordinally-first is rejected ok 352 Promise.race should settle in the same way as the first promise to settle ok 353 Promise.race should never settle when given an empty iterable ok 354 Promise.race should reject with a TypeError if given a non-iterable ok 355 Promise sanity check: a fulfilled promise calls its fulfillment handler ok 356 Promise directly resolving the promise with itself ok 357 Promise Stealing a resolver and using it to trigger possible reentrancy bug (83) ok 358 Support user subclassing of Promise should work if you do it right ok 359 Support user subclassing of Promise should throw if you inherit incompletely ok 360 Support user subclassing of Promise should throw if you don't inherit at all # tests 359 # pass 359 # fail 0
1..360 ok 1 clean Object.prototype Array Array.from() has a length of 1 ok 2 clean Object.prototype Array Array.from() should create correct array from iterable ok 3 clean Object.prototype Array Array.from() should handle empty iterables correctly ok 4 clean Object.prototype Array Array.from() should work with other constructors ok 5 clean Object.prototype Array Array.from() supports a map function ok 6 clean Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 7 clean Object.prototype Array Array.from() supports a this arg ok 8 clean Object.prototype Array Array.from() throws when provided null or undefined ok 9 clean Object.prototype Array Array.from() returns [] when given 3 ok 10 clean Object.prototype Array Array.from() removes holes ok 11 clean Object.prototype Array Array.of() should create correct array from arguments ok 12 clean Object.prototype Array ArraycopyWithin has the right arity ok 13 clean Object.prototype Array ArraycopyWithin works with 2 args ok 14 clean Object.prototype Array ArraycopyWithin works with 3 args ok 15 clean Object.prototype Array ArraycopyWithin works with negative args ok 16 clean Object.prototype Array ArraycopyWithin works with arraylike objects ok 17 clean Object.prototype Array Arrayfind should have a length of 1 ok 18 clean Object.prototype Array Arrayfind should find item by predicate ok 19 clean Object.prototype Array Arrayfind should return undefined when nothing matched ok 20 clean Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 21 clean Object.prototype Array Arrayfind should receive all three parameters ok 22 clean Object.prototype Array Arrayfind should work with the context argument ok 23 clean Object.prototype Array Arrayfind should work with an array-like object ok 24 clean Object.prototype Array Arrayfind should work with an array-like object with negative length ok 25 clean Object.prototype Array Arrayfind should work with a sparse array ok 26 clean Object.prototype Array Arrayfind should work with a sparse array-like object ok 27 clean Object.prototype Array ArrayfindIndex should have a length of 1 ok 28 clean Object.prototype Array ArrayfindIndex should find item key by predicate ok 29 clean Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 30 clean Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 31 clean Object.prototype Array ArrayfindIndex should receive all three parameters ok 32 clean Object.prototype Array ArrayfindIndex should work with the context argument ok 33 clean Object.prototype Array ArrayfindIndex should work with an array-like object ok 34 clean Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 35 clean Object.prototype Array ArrayfindIndex should work with a sparse array ok 36 clean Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 37 clean Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 38 clean Object.prototype Array ArrayIterator ArrayIteratornext throws when not applied to an ArrayIterator ok 39 clean Object.prototype Array Arraykeys should have a length of zero ok 40 clean Object.prototype Array Arraykeys should return 0 on first object ok 41 clean Object.prototype Array Arraykeys should return 1 on second object ok 42 clean Object.prototype Array Arraykeys should return 2 on third object ok 43 clean Object.prototype Array Arraykeys should return 3 on fourth object ok 44 clean Object.prototype Array Arraykeys should set done on completing iteration ok 45 clean Object.prototype Array Arraykeys once done it should stay done ok 46 clean Object.prototype Array Arraykeys should not skip sparse keys ok 47 clean Object.prototype Array Arrayvalues should have a length of zero ok 48 clean Object.prototype Array Arrayvalues should return 5 on first object ok 49 clean Object.prototype Array Arrayvalues should return 10 on second object ok 50 clean Object.prototype Array Arrayvalues should return 15 on third object ok 51 clean Object.prototype Array Arrayvalues should return 20 on fourth object ok 52 clean Object.prototype Array Arrayvalues should set done on completing iteration ok 53 clean Object.prototype Array Arrayvalues once done it should stay done ok 54 clean Object.prototype Array Arrayvalues should not skip sparse values ok 55 clean Object.prototype Array Arrayentries should have a length of zero ok 56 clean Object.prototype Array Arrayentries should return [0, 5] on first object ok 57 clean Object.prototype Array Arrayentries should return [1, 10] on first object ok 58 clean Object.prototype Array Arrayentries should return [2, 15] on first object ok 59 clean Object.prototype Array Arrayentries should return [3, 20] on first object ok 60 clean Object.prototype Array Arrayentries should set done on completing iteration ok 61 clean Object.prototype Array Arrayentries once done it should stay done ok 62 clean Object.prototype Array Arrayentries should not skip sparse entries ok 63 clean Object.prototype Array Arrayfill has the right length ok 64 clean Object.prototype Array Arrayfill works with just a value ok 65 clean Object.prototype Array Arrayfill accepts a positive start index ok 66 clean Object.prototype Array Arrayfill accepts a negative start index ok 67 clean Object.prototype Array Arrayfill accepts a large start index ok 68 polluted Object.prototype Array Array.from() has a length of 1 ok 69 polluted Object.prototype Array Array.from() should create correct array from iterable ok 70 polluted Object.prototype Array Array.from() should handle empty iterables correctly ok 71 polluted Object.prototype Array Array.from() should work with other constructors ok 72 polluted Object.prototype Array Array.from() supports a map function ok 73 polluted Object.prototype Array Array.from() throws when provided a nonfunction second arg ok 74 polluted Object.prototype Array Array.from() supports a this arg ok 75 polluted Object.prototype Array Array.from() throws when provided null or undefined ok 76 polluted Object.prototype Array Array.from() returns [] when given 3 ok 77 polluted Object.prototype Array Array.from() removes holes ok 78 polluted Object.prototype Array Array.of() should create correct array from arguments ok 79 polluted Object.prototype Array ArraycopyWithin has the right arity ok 80 polluted Object.prototype Array ArraycopyWithin works with 2 args ok 81 polluted Object.prototype Array ArraycopyWithin works with 3 args ok 82 polluted Object.prototype Array ArraycopyWithin works with negative args ok 83 polluted Object.prototype Array ArraycopyWithin works with arraylike objects ok 84 polluted Object.prototype Array Arrayfind should have a length of 1 ok 85 polluted Object.prototype Array Arrayfind should find item by predicate ok 86 polluted Object.prototype Array Arrayfind should return undefined when nothing matched ok 87 polluted Object.prototype Array Arrayfind should throw TypeError when function was not passed ok 88 polluted Object.prototype Array Arrayfind should receive all three parameters ok 89 polluted Object.prototype Array Arrayfind should work with the context argument ok 90 polluted Object.prototype Array Arrayfind should work with an array-like object ok 91 polluted Object.prototype Array Arrayfind should work with an array-like object with negative length ok 92 polluted Object.prototype Array Arrayfind should work with a sparse array ok 93 polluted Object.prototype Array Arrayfind should work with a sparse array-like object ok 94 polluted Object.prototype Array ArrayfindIndex should have a length of 1 ok 95 polluted Object.prototype Array ArrayfindIndex should find item key by predicate ok 96 polluted Object.prototype Array ArrayfindIndex should return -1 when nothing matched ok 97 polluted Object.prototype Array ArrayfindIndex should throw TypeError when function was not passed ok 98 polluted Object.prototype Array ArrayfindIndex should receive all three parameters ok 99 polluted Object.prototype Array ArrayfindIndex should work with the context argument ok 100 polluted Object.prototype Array ArrayfindIndex should work with an array-like object ok 101 polluted Object.prototype Array ArrayfindIndex should work with an array-like object with negative length ok 102 polluted Object.prototype Array ArrayfindIndex should work with a sparse array ok 103 polluted Object.prototype Array ArrayfindIndex should work with a sparse array-like object ok 104 polluted Object.prototype Array ArrayIterator ArrayIteratornext should work when applied to an ArrayIterator ok 105 polluted