Commit Graph

5183 Commits

Author SHA1 Message Date
Rick Waldron 3213e789f4 Fix: some templates in Computed Property Names needed explicit paths. 2020-09-25 12:58:22 -04:00
Rick Waldron 5090f7adfe Generate tests 2020-09-25 12:01:39 -04:00
Rick Waldron 1a1b1770e8 Fix: some templates in Forbidden Extensions needed explicit paths. 2020-09-25 12:01:39 -04:00
Rick Waldron e3b12065b2 Coverage: Array.prototype.item, String.prototype.item, TypedArray.prototype.item. Closes gh-2809, gh-2810, gh-2811 2020-09-24 17:23:38 -04:00
devsnek bf205bac84 Remove annex b regex from main tests 2020-09-24 16:53:08 -04:00
Yusuke Suzuki 3fe45c44c6 Revert "Intl.NumberFormat + currency will throw an error if maximumFractionDigits is less than currencyDigits"
This reverts commit a7b9067fe1.
I fixed the test with a7b9067fe1 based on the current spec, but this test was based on WIP spec change.
2020-09-24 14:55:28 -04:00
Rick Waldron e2a4e79a11 Coverage: formal parameter binding identifier "eval" must have the correct value in non-strict code. Fixes gh-2814 2020-09-24 14:54:48 -04:00
Rick Waldron 16bf949629 Coverage: String.prototype.split method, regexp separator. Fixes gh-2813 2020-09-24 14:54:28 -04:00
Rick Waldron 834789514d Rename: legacy -> description 2020-09-24 14:54:28 -04:00
Rick Waldron e5fa1d5ef4 Transform: legacy $ERROR -> assert.* 2020-09-24 14:54:28 -04:00
Rick Waldron dcbc02b7fa Coverage: Object.getOwnPropertySymbols/Names called with non-object values. Fixes gh-2804 2020-09-24 14:53:26 -04:00
Rick Waldron 07cc3c8bb1 Coverage: calling array methods with boolean as thisValue. Fixes gh-2803 2020-09-24 14:52:48 -04:00
Rick Waldron 4bcc582183 Regenerate tests 2020-09-23 11:18:16 -04:00
Rick Waldron 601688856e Generate tests 2020-09-23 11:18:16 -04:00
Rick Waldron 1dd15dd2f3 More cases 2020-09-23 11:18:16 -04:00
Rick Waldron 41c5a42fa7 Generate tests 2020-09-22 10:37:57 -04:00
Rick Waldron b59bd307a8 Coverage: async arrow in ClassHeritage. Fixes gh-1736 2020-09-22 10:37:57 -04:00
Rick Waldron fd92897147 Generate tests 2020-09-22 10:37:38 -04:00
Rick Waldron 6a428b4a40 Coverage: forbidden extensions, bullet 1 & 2. Fixes gh-1749 2020-09-22 10:37:38 -04:00
Rick Waldron 82ee7a2cfb Coverage: String.prototype.replace method calls toString on replaceValue (regexp object). Fixes gh-2797 2020-09-22 10:37:20 -04:00
HyeockJinKim be99a3e519 Add coverage for rest properties with computed key
gh-2089
2020-09-22 10:31:33 -04:00
Yusuke Suzuki e75ed15b91 Perl YAML parser cannot parse documents in options-granularity-abrupt-throws.js and options-granularity-toString-abrupt-throws.js
Remove line terminator.
2020-09-21 16:04:44 -04:00
Yusuke Suzuki 333da4198a Connector of date and time style can be " at " or ", "
macOS system ICU is shipping new CLDR, but it has many overrides on the top of it to make the formatted output suitable for the system.
And in timedatestyle-en.js tests, we intentionally override the CLDR data with the different format.
This change modifies the test to accept that alternative output.
2020-09-19 15:35:45 -04:00
Rick Waldron fd12f5bc6b Coverage: Error message default value + cleanup. Fixes gh-2789 2020-09-18 16:42:22 -04:00
Rick Waldron 5e3761f5c8 Cleanup: parseInt, migrate legacy tests to assert, update messages. 2020-09-18 16:25:50 -04:00
Rick Waldron 55652110f7 Update test/language/statements/try/completion-values-fn-finally-abrupt.js
Co-authored-by: Kevin Gibbons <bakkot@gmail.com>
2020-09-18 16:19:13 -04:00
Leo Balter 536ecd08a9 completion values of try-catch-finally 2020-09-18 16:19:13 -04:00
Rick Waldron 5de16292fd Coverage: try/catch/finally completion values. Fixes gh-1742 2020-09-18 16:19:13 -04:00
Rick Waldron 81db9994c9 Cover NumericLiteral..toString, NaN.toString, Infinity.toString. Fixes gh-1732 2020-09-17 16:24:33 -04:00
Rick Waldron 1ab47810d1 Generate tests 2020-09-17 16:24:07 -04:00
Rick Waldron 4ca3c51afd Coverage: Computed Property Names. Fixes gh-1741 2020-09-17 16:24:07 -04:00
Rick Waldron be7e9ff98b Computed Property Names: YieldExpression that yields something. 2020-09-17 16:24:07 -04:00
Rick Waldron 916cdb72e5 Generate tests 2020-09-17 16:23:26 -04:00
Rick Waldron 8b7adcdf00 AssignmentTargetType cases. Fixes gh-1268 2020-09-17 16:23:26 -04:00
Rick Waldron 67382a1e8e Add await test: await is valid in non-module strict mode code. 2020-09-17 16:22:22 -04:00
Rick Waldron 057a31e15e Add coverage for reserved words in shorthand properties. Fixes gh-1179 2020-09-17 16:22:22 -04:00
Rick Waldron ab4a019a4d Example output from legacy code transformer 2020-09-17 16:21:53 -04:00
Rick Waldron b11c1607c0 Coverage: Object.assign, Assignment to readonly property of target must throw a TypeError exception. Fixes gh-2788 2020-09-17 16:21:26 -04:00
Rick Waldron fd26fc17ea Refactor: built-ins/FinalizationRegistry/gc-has-one-chance-to-call-cleanupCallback.js
Per recommendation here: https://github.com/web-platform-tests/wpt/pull/25496/files#r488316588
2020-09-17 10:00:02 -04:00
Rick Waldron 1cd7d87501 Object.defineProperty: Property description must be an object. Fixes gh-1754 2020-09-17 09:59:31 -04:00
Rick Waldron db5b9c1dd9 Object.defineProperties: Property description must be an object. Fixes gh-1754 2020-09-17 09:59:31 -04:00
Rick Waldron c5e8aa9ca2 Migrate test/harness/* away from dependence on $ERROR(). Close gh-742 2020-09-16 17:37:16 -04:00
Rick Waldron e662428fb4 Replace all "valid" occurences of $ERROR with Test262Error.thrower 2020-09-16 17:36:54 -04:00
Rick Waldron 8250b886b0 Create "Test262Error.thrower" as replacement for "$ERROR". Define $ERROR as Test262Error.thrower 2020-09-16 17:36:54 -04:00
Rick Waldron f94fc660cc Array#shift throws TypeError if this value's "length" property was defined with [[Writable]]: false. Fixes gh-2773 2020-09-15 16:35:11 -04:00
Rick Waldron 9fc299915d get and set in MethodDefinition must not be escaped. Fixes gh-2078 2020-09-15 16:34:36 -04:00
Rick Waldron 92a200b29f Attempting to set a value to a binding that no longer exists must throw a ReferenceError exception in strict mode code. Fixes gh-427 2020-09-15 16:33:59 -04:00
Rick Waldron 8a2bfb48d4 Delete invalid tests 2020-09-15 16:33:59 -04:00
Rick Waldron a92de6fa2d Generate tests 2020-09-15 11:09:52 -04:00
Rick Waldron cbfb7eb96a src/subclass-builtins/*.case: Add missing features 2020-09-15 11:09:52 -04:00