Joyee Cheung
70b97383a8
test getter on symbols and wrapper objects
2018-06-08 05:36:22 +08:00
Joyee Cheung
28a66ceb75
Use propertyHelper, add more tests, fix getter calls
2018-06-08 04:56:59 +08:00
Joyee Cheung
cc53f64325
Add tests for Symbol.prototype.description
2018-06-07 21:39:02 +08:00
Mathias Bynens
85d595effa
Update RegExp Unicode property escape tests per Unicode 11
...
Emoji data is now published as part of the Unicode standard itself, and thus follows the same version number.
Ref. f302c60c84
.
Ref. https://github.com/tc39/ecma262/pull/1218 .
Ref. https://github.com/tc39/ecma262/issues/1219 .
2018-06-07 15:32:41 +02:00
Andrea Giammarchi
7c9469115e
GetTemplateObject with a unique template object
2018-06-07 11:31:07 +02:00
Rick Waldron
11f476cdbb
Merge pull request #1586 from Ms2ger/getCanonicalLocales-Locale
...
Add a test for passing Intl.Locale objects to Intl.getCanonicalLocales().
2018-06-04 17:01:51 -04:00
Rick Waldron
f71ce6d29a
Merge pull request #1585 from Ms2ger/Locale-branding
...
Add tests for branding checks in Intl.Locale.prototype members.
2018-06-04 17:01:15 -04:00
Rick Waldron
8e5340a56e
Merge pull request #1501 from apaprocki/date-parse-range
...
Date.parse breathing test, time value maximum range test
2018-06-04 16:20:07 -04:00
Rick Waldron
b0aff0d2e3
Merge pull request #1574 from Ms2ger/Locale-getter-name
...
Add tests for the names of getters on Intl.Locale.prototype.
2018-06-04 16:13:47 -04:00
Ms2ger
11e3c5fc00
Add a test for passing Intl.Locale objects to Intl.getCanonicalLocales().
2018-06-04 18:03:19 +02:00
Ms2ger
326fe2b8ac
Add tests for branding checks in Intl.Locale.prototype members.
2018-06-04 17:38:52 +02:00
Rick Waldron
1fbe20290d
Merge pull request #1583 from Ms2ger/Locale-various
...
Various additions to the Intl.Locale test coverage.
2018-06-04 11:33:03 -04:00
Rick Waldron
3fec2e4f3c
Merge pull request #1582 from Ms2ger/Locale-likely-subtags
...
Add a test for Locale#{minimize,maximize}.
2018-06-04 11:32:03 -04:00
Rick Waldron
ecea13b04a
SuperProperty evaluation order, must first call super()
...
- Invalid: super[super()]. Expects super() to be called prior to super property access.
2018-06-04 10:52:31 -04:00
Ms2ger
501a9a674f
Various additions to the Intl.Locale test coverage.
2018-06-04 14:08:28 +02:00
Ms2ger
8ce24bb837
Add a test for Locale#{minimize,maximize}.
2018-06-04 11:27:42 +02:00
Rick Waldron
a94b3bf431
Reflect.ownKeys: order with large integer "index" keys
2018-05-31 17:04:27 -04:00
Robin Templeton
904d90d0d6
Add Object.prototype.toString tests for BigInt.
...
Reported by André Bargull in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464758 >.
2018-05-31 15:10:50 -04:00
Rick Waldron
92003a3e52
Merge pull request #1576 from Ms2ger/pluralCategories
...
Add a test for pluralrules.resolvedOptions().pluralCategories.
2018-05-29 14:08:41 -04:00
Rick Waldron
c1c60447f3
Intl.Locale: fix typo in assertion message ( #1575 )
2018-05-29 14:02:28 -04:00
Ms2ger
cd6198b69c
Add a test for pluralrules.resolvedOptions().pluralCategories.
2018-05-29 17:34:34 +02:00
Ms2ger
4dbd18197e
Add tests for the names of getters on Intl.Locale.prototype.
2018-05-29 15:34:58 +02:00
Robin Templeton
dbf1362cbc
Check that JSON.stringify works with BigInt objects from other realms
...
This is based on André Bargull's test case in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1464757 >.
2018-05-28 19:58:02 -04:00
Rick Waldron
85a4484c52
SuperProperty evaluation order
...
super[super()] should evaluate and resolve super() first
2018-05-24 15:10:35 -04:00
Rick Waldron
a8f7012587
Array.prototype.flatten => Array.prototype.flat ( #1569 )
2018-05-22 15:47:50 -04:00
Rick Waldron
8579ac0356
Merge pull request #1565 from gibson042/2018-05-LineContinuation
...
Add tests for LineContinuation in StringLiteral
2018-05-21 15:45:12 -04:00
Richard Gibson
3758f6a97c
Add tests for LineContinuation in StringLiteral
2018-05-21 12:19:48 -04:00
Caio Lima
ebe393172f
Adding prefixed string to compare with BigInt
2018-05-20 20:24:13 -03:00
Rick Waldron
fbccd8eeff
Intl: PluralRules, NumberFormat, Number & getCanonicalLocales to use verifyProperty
...
There's a lot of work like this to do, but not enough time in the day to reach it all.
2018-05-18 12:35:06 -04:00
Rick Waldron
50de5f98ab
Intl.Locale: ensure that the expect value is correctly printed in the assertion message
2018-05-17 17:30:48 -04:00
Rick Waldron
a33ccf6bf1
Merge pull request #1558 from Ms2ger/Locale-constructor-options
...
Improve and extend the tests for ApplyOptionsToTag.
2018-05-17 17:16:57 -04:00
Rick Waldron
bd7b77c17d
Intl.Locale: relocate test files
2018-05-17 17:14:01 -04:00
Rick Waldron
ef1d3a4eb6
Merge pull request #1553 from Ms2ger/Locale
...
Add some more Locale tests.
2018-05-17 17:02:55 -04:00
Nicolò Ribaudo
7ff8d48178
AsyncGeneratorPrototype/*/name.js use "async-iteration", not "generator" ( #1556 )
2018-05-15 13:52:59 -03:00
Ms2ger
ce8d0520b8
Add some more Locale tests.
2018-05-15 17:27:57 +02:00
Ms2ger
9300187c75
Improve and extend the tests for ApplyOptionsToTag.
2018-05-15 14:37:31 +02:00
Valerie R Young
40883f4c6a
Update filename character restriction in documention, linter and a few filenames
2018-05-11 22:19:01 -04:00
Daniel Ehrenberg
8d7dd538f1
Generate tests
2018-05-11 15:48:43 -04:00
Rick Waldron
e845e21bf5
Intl.Locale: minor fixups ( #1554 )
...
- fix mixed up test & info
- add Symbol feature
- maximize length is 0
- maximize configurability is true
2018-05-11 16:37:52 -03:00
Rick Waldron
1631fb76d1
Merge pull request #1551 from hotsphink/numident
...
Add test for numeric literal followed by identifier
2018-05-10 14:14:31 -04:00
Steve Fink
fab08ab7a2
Add test for numeric literal followed by identifier
2018-05-09 15:45:52 -07:00
Rick Waldron
ffc46a667c
BigInt: cleanup assertion messages ( #1549 )
2018-05-09 18:14:09 -03:00
Rick Waldron
c38bf8ba23
Merge pull request #1546 from caiolima/big-int-relational-symbol
...
Added tests for relational comparison among BigInt and Symbol
2018-05-09 15:42:10 -04:00
Caio Lima
c93caac30b
Updating error messages
2018-05-08 22:58:18 -03:00
Leo Balter
524e8e43a5
Merge pull request #1544 from gibson042/proposal-json-superset
...
Tests for proposal-json-superset
2018-05-08 15:33:33 -03:00
Richard Gibson
dbc0c6b1cc
Add json-superset feature
2018-05-08 14:19:44 -04:00
Caio Lima
5cacfaf64b
Added tests of relational comparison among BigInt and boolean
2018-05-08 10:06:29 -03:00
Caio Lima
340dfba5dc
Added tests for relational comparison among BigInt and Symbol
2018-05-08 09:34:34 -03:00
Richard Gibson
ba124c31b2
Add tests for non-ASCII LineTerminator characters in string literals
2018-05-07 16:59:55 -04:00
Richard Gibson
48b4aa66af
Remove no-longer-valid tests
2018-05-07 16:58:42 -04:00
Rick Waldron
83d815328f
Intl.Locale: follow up tasks, set 1. Ref gh-1538 ( #1540 )
2018-05-04 14:49:37 -03:00
Ms2ger
eecf4d46ad
Submit some Intl.Locale() tests.
...
Some of these are based on work by André Bargull in
<https://bugzilla.mozilla.org/show_bug.cgi?id=1433303 >.
2018-05-03 14:21:10 -04:00
Ms2ger
190cf5c730
Extract list of structurally invalid tags from invalid-tags.js.
2018-05-03 14:20:39 -04:00
Rick Waldron
3b7a456ddb
Merge pull request #1532 from anba/compat-new
...
Various test cases for cross-browser compliance bugs
2018-05-03 14:19:40 -04:00
André Bargull
b552dad5cb
Various test cases for cross-browser compliance bugs
2018-05-03 09:27:27 -07:00
Mike Pennisi
e01a560648
Remove superfluous code from negative syntax tests
...
Because these files contain syntax errors, the code they contain is not
intended to be executed, and the runtime semantics are therefore
irrelevant. Simplify the files by removing the unnecessary code.
2018-04-27 22:04:23 -04:00
Rick Waldron
64cdeaf1ed
Remove erroneous remnant $ERROR calls from negative SyntaxError tests
2018-04-26 13:39:36 -04:00
Leo Balter
24356b0c2c
fix yaml
2018-04-25 11:39:23 -03:00
Rick Waldron
a43777651c
Atomics.wait: additional coverage. Completes gh-1466
2018-04-25 11:01:37 -03:00
Rick Waldron
d12d7d270e
Atomics.wake: additional coverage. ( #1523 )
...
Completes gh-1472
2018-04-25 10:00:35 -04:00
Rick Waldron
0b36f27000
Features: add missing "destructuring-binding" features; remove "default-arg" ( #1521 )
2018-04-24 14:52:19 -04:00
André Bargull
a1faccdd41
Fix various test bugs
...
- "CannotSuspendMainAgent" feature was changed to "CanBlockIsFalse" flag
- Move annex-b tests into annex-b directory
- Update variable names in nonshared-int-views.js tests
- Move getReport() call in nan-for-timeout.js to avoid iloop
- Update BigInt constructor to match new semantics (tc39/proposal-bigint#138 )
2018-04-24 09:52:35 -07:00
Rick Waldron
c55d2ab7c3
Extensive Function toString updates for "Function.prototype.toString revision" proposal. ( #1510 )
...
Fixes gh-1453
2018-04-19 16:44:52 -04:00
Rick Waldron
338688bb57
testTypedArray.js: enforce order of TypedArrays
2018-04-19 15:09:39 -04:00
Rick Waldron
ac65ecab7c
Atomics: updates to tests
2018-04-19 15:09:39 -04:00
Amal Hussein
251a69acca
wip
2018-04-19 15:07:05 -04:00
Amal Hussein
9d909ed681
fixup from pr feedback
2018-04-19 15:07:05 -04:00
Amal Hussein
0059b4783d
additional test coverage for atomics.wait + removing old tests which have been replaced + test cleanup and renaming test files for consistency
2018-04-19 15:07:05 -04:00
Rick Waldron
9f57733ed9
Test all no-construct no-call objects consistently ( #1520 )
...
Related to https://github.com/tc39/ecma262/pull/1177
2018-04-19 11:23:17 -04:00
Rick Waldron
cd6305155b
BigInt: additional info frontmatter. Validated features ( #1518 )
2018-04-18 16:56:06 -04:00
Rick Waldron
a1a4e2b1b8
Corrections to sec-web-compat-evaldeclarationinstantiation and sec-web-compat-functiondeclarationinstantiation tests. Fixes gh-1364 ( #1509 )
2018-04-18 16:54:30 -04:00
Rick Waldron
14931c923f
Merge pull request #1516 from cxielarko/tostring-default-radix
...
test BigInt toString with default radix
2018-04-18 16:21:39 -04:00
Rick Waldron
119c8eadfa
Merge pull request #1517 from cxielarko/valueof-realm
...
cross-realm test for BigInt.prototype.valueOf
2018-04-18 16:19:49 -04:00
Rick Waldron
1155332c93
Merge pull request #1514 from cxielarko/remove-issafeinteger
...
remove IsSafeInteger checks for BigInt
2018-04-18 15:35:38 -04:00
Robin Templeton
34e7102b78
bigint comparison tests ( #1513 )
...
* relational comparison of bigint and string values
* additional tests for strings converted to NaN
2018-04-18 15:33:00 -04:00
Robin Templeton
5be8900d6b
cross-realm test for BigInt.prototype.valueOf
...
Thanks to Jeff Walden for suggesting this test case.
2018-04-17 20:50:05 -04:00
Robin Templeton
6d4b9a55f1
test BigInt toString with default radix
...
Thanks to Jeff Walden for suggesting this test case.
2018-04-17 20:25:35 -04:00
Robin Templeton
bf1b79d65a
remove IsSafeInteger checks for BigInt
2018-04-16 13:29:03 -04:00
Rick Waldron
ee3a57ca23
Merge pull request #1507 from bakkot/field-ref-error
...
Add test for proposal-class-fields#92
2018-04-11 13:49:54 -04:00
Kevin Gibbons
49039979c8
Add test for double super for proposal-class-fields#92
2018-04-09 12:02:22 -07:00
Kevin Gibbons
dba8d7cdc7
Add test for proposal-class-fields#92
2018-04-06 11:24:15 -07:00
Ross Kirsling
a7b2d07a94
Remove errant LF from CR line ending test.
2018-04-05 23:32:25 -07:00
Valerie Young
714fdc9125
whitespace and delete file ( #1505 )
2018-04-04 14:57:56 -04:00
Jeff Walden
ba783aef91
Add a test verifying that the OrdinaryCreateFromConstructor call in the DataView constructor is checked for underlying-buffer detachedness before its result is used.
2018-04-02 15:19:13 -07:00
André Bargull
ea6c18c5e2
Don't compute NaN values in functions ( #1503 )
...
`function nan() { return /* expression to compute NaN */ }` may not return the same implementation-distinguishable NaN value before and after JIT compilation.
2018-03-22 20:20:29 -04:00
André Bargull
500e48e6ce
Fix various test bugs ( #1502 )
...
Fixes #1492
2018-03-22 16:36:57 -04:00
Andrew Paprocki
cab89848ad
Date.parse: Test maximum time value range per spec.
2018-03-22 15:42:56 +00:00
Andrew Paprocki
9db5005ac3
Date.parse: Add 0 (UTC epoch) test per spec.
2018-03-22 15:42:55 +00:00
Amal Hussein
5d6899522a
additional test coverage for atomics.wait ( #1497 )
2018-03-19 20:06:53 -04:00
Leo Balter
478f5b4c0c
Add features tags for Atomics and SharedArrayBuffer ( #1494 )
...
* Add features tags for Atomics
* Add features tags for SharedArrayBuffer
2018-03-19 19:51:32 -04:00
Leo Balter
431e6cb20c
Add more tests for Atomics wait ( #1495 )
2018-03-19 19:50:28 -04:00
Rick Waldron
03f0f56961
Promise.all/race with non-iterable or invalid return from Symbol.iterator. ( #1496 )
...
Fixes gh-1490
2018-03-19 14:01:36 -04:00
peterwmwong
f1e45d9e5e
Fleshed out tests for Symbol.matchAll, String.p.matchAll, RegExp.p[@@matchAll], and %RegExpStringIteratorPrototype%
...
Tests were updated and assuming https://github.com/tc39/proposal-string-matchall/pull/33 will be merged.
2018-03-17 22:48:31 -05:00
Amal Hussein
50dd1fbd58
additional tests for atomics wait + updated input values #1492 fix ( #1493 )
2018-03-16 15:41:59 -04:00
Amal Hussein
b07c546b8a
Initial tests for extending Atomics.wait test coverage ( #1488 )
2018-03-13 17:22:10 -04:00
Valerie R Young
cc86629301
BigInt: fix, make sure to correctly use different typedarray ctor
2018-03-13 15:23:39 -04:00
Valerie R Young
3f96092cb9
BigInt: fix, set only BigInts to index to avoid false negatives
2018-03-13 15:07:17 -04:00
Valerie R Young
324c18038b
BigInt: fix input values to be type BigInt
2018-03-13 14:58:43 -04:00
Valerie R Young
7c857318f0
BigInt: fix, other TypedArray should be Big
2018-03-13 14:53:06 -04:00
Valerie R Young
07fdc340a4
BigInt: fix make buffer size BYTES_PER_ELEMENT
2018-03-13 14:37:15 -04:00