Commit Graph

3099 Commits

Author SHA1 Message Date
André Bargull d7d154b3bc Remove requirement that ToNumber(value) completes in less than $262.agent.MAX_TIME_EPSILON
$262.agent.MAX_TIME_EPSILON was intended to be used for callers like `Atomics.wait(typedArray, indexNumber, valueNumber, timeoutNumber)` where all parameters with the `Number` suffix denote values which are already Number values. It should not be used for `Atomics.wait(typedArray, indexObject, valueObject, timeoutObject)` where all parameters with the `Object` suffix denote values which are Object values, because in that case we'd require that `ToNumber(objectValue)` (potentially invoked multiple times) completes in less than 100 milliseconds (the default value for MAX_TIME_EPSILON).

Also removes $262.agent.MAX_TIME_EPSILON because it is now no longer used.
2018-08-19 10:29:29 -04:00
Leo Balter ab436c4651
Merge pull request #1677 from tc39/ofe-use-verifyproperty
Object.fromEntries: use verifyProperty; add specification details
2018-08-17 18:06:19 -04:00
Leo Balter d901922690
Merge pull request #1682 from Ms2ger/rtf-supportedLocalesOf
Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf.
2018-08-17 18:04:34 -04:00
Leo Balter f9d549329a
Merge pull request #1681 from Ms2ger/rtf-pl-fix
Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests.
2018-08-17 18:03:01 -04:00
Leo Balter fcefbc7945
Merge pull request #1678 from Ms2ger/rtf-options-non-object
Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor.
2018-08-17 18:01:59 -04:00
Leo Balter 62c6470bab
Merge pull request #1683 from anba/regexp-perf
Reduce time needed in RegExp tests and test fixes
2018-08-17 13:15:45 -04:00
André Bargull cd101873ba Fix expected values for 'quarter' in RelativeTimeFormat 2018-08-17 09:15:38 -07:00
André Bargull 0aa1f70c14 Fix typo: nofity -> notify 2018-08-17 07:48:44 -07:00
André Bargull 8879820a8f Make RegExp/CharacterClassEscapes tests faster across all engines 2018-08-17 07:48:42 -07:00
Ms2ger 867b1ab87d Intl.RelativeTimeFormat: Add some more tests for supportedLocalesOf. 2018-08-16 15:18:05 +02:00
Ms2ger c82ea326a8 Intl.RelativeTimeFormat: Fix copy/paste errors in Polish tests. 2018-08-16 10:04:31 +02:00
Ms2ger 3161b18f71 Intl.RelativeTimeFormat: Add some tests for non-object options arguments to the constructor. 2018-08-14 17:43:32 +02:00
Rick Waldron ff475fce11 Object.fromEntries: use verifyProperty; add specification details 2018-08-13 15:15:02 -04:00
Rick Waldron 55ffeaf5cf Object.fromEntries: fix file names 2018-08-13 12:24:57 -04:00
Kevin Gibbons 60b9467630 Two more simple tests 2018-08-13 10:25:09 -04:00
Kevin Gibbons 7f694d4718 Object.fromEntries: add basic tests 2018-08-13 10:25:09 -04:00
Kevin Gibbons 8ae2a51e29 Docs: have CONTRIBUTING.md link to referenced file 2018-08-13 10:19:38 -04:00
test262-automation b3ff29ce82 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: b69d88687a targetRevisionAtLastExport: 93b2865ca
2018-08-10 15:39:07 -04:00
test262-automation 2de52150f0 [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha b69d88687a on Fri Aug 10 2018 18:07:39 GMT+0000 (Coordinated Universal Time) 2018-08-10 15:39:07 -04:00
Rick Waldron 2c39868519 Merge remote-tracking branch 'ms2ger/rtf-supportedLocalesOf-basic'
* ms2ger/rtf-supportedLocalesOf-basic:
  Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
2018-08-10 15:36:01 -04:00
Rick Waldron b893503aa8 Intl.DateTimeFormat: formatToParts nitpicking 2018-08-10 15:35:04 -04:00
Rick Waldron c0e494eb6a Merge branch 'patch-1' of git://github.com/phistuck/test262 into phistuck-patch-1
* 'patch-1' of git://github.com/phistuck/test262:
  Added a legal part types test
2018-08-10 15:29:36 -04:00
Rick Waldron 9ddd49d49b Merge branch 'remove-assert.throws.early' of git://github.com/mathiasbynens/test262 into mathiasbynens-remove-assert.throws.early
* 'remove-assert.throws.early' of git://github.com/mathiasbynens/test262:
  Remove assert.throws.early
2018-08-10 15:26:31 -04:00
Rick Waldron 3a517cb7a7 Merge remote-tracking branch 'ms2ger/rtf-unit-invalid-plausible'
* ms2ger/rtf-unit-invalid-plausible:
  Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments.
2018-08-10 15:23:25 -04:00
Rick Waldron e900c559b6 Merge remote-tracking branch 'ms2ger/rtf-tonumber'
* ms2ger/rtf-tonumber:
  Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts().
2018-08-10 15:23:06 -04:00
Rick Waldron ec31d06622 Merge remote-tracking branch 'ms2ger/rtf-formatToParts-type'
* ms2ger/rtf-formatToParts-type:
  Intl.RelativeTimeFormat: Add tests for the type of formatToParts results.
2018-08-10 15:22:31 -04:00
Rick Waldron 883da82d29 Merge remote-tracking branch 'ms2ger/rtf-pl'
* ms2ger/rtf-pl:
  Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
2018-08-10 15:21:57 -04:00
Ms2ger d15e0f58fc Intl.RelativeTimeFormat: Test some plausible but unsupported unit arguments. 2018-08-10 17:46:39 +02:00
Ms2ger fcc9fb974b Intl.RelativeTimeFormat: Add tests for ToNumber() in format/ToParts(). 2018-08-10 17:45:44 +02:00
Ms2ger 59bc1d6a2f Intl.RelativeTimeFormat: Add a basic test for the functionality of supportedLocalesOf().
This is based on test/intl402/NumberFormat/supportedLocalesOf/basic.js.
2018-08-10 17:21:08 +02:00
Ms2ger f38722c021 Intl.RelativeTimeFormat: Add tests for the type of formatToParts results. 2018-08-10 16:14:10 +02:00
Ms2ger 1d8e1c8c4f Intl.RelativeTimeFormat: Add some tests for different styles in Polish.
This is interesting because Polish has different output for the "short" and
"narrow" styles.
2018-08-10 14:29:00 +02:00
Mathias Bynens 75e8a317a2 Remove assert.throws.early
Negative tests are the better approach for early error tests.

Closes #1622.
2018-08-07 14:35:13 +02:00
Ms2ger 48d95ac3c4 Intl.RelativeTimeFormat: Add some tests for the 'narrow' style. 2018-08-04 11:10:19 -04:00
Ms2ger 1e8d69f0fa Intl.RelativeTimeFormat: Test for grouping in long numbers.
The specification was changed to remove the useGrouping option in
<https://github.com/tc39/proposal-intl-relative-time/pull/81>.

The change to remove the minimumIntegerDigits option in that PR was already
taken into account; this commit also removes the reference to the issue.

This also removes some commented-out code that was left in by accident.
2018-08-04 11:09:20 -04:00
Leo Balter d601b83927
Merge pull request #1665 from test262-automation/javascriptcore-test262-automation-export-df1fc484e
Import test changes from JavaScriptCore
2018-08-03 14:42:36 -04:00
test262-automation c81c030d44 [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 5895364ed5 targetRevisionAtLastExport: df1fc484e
2018-08-03 18:05:50 +00:00
test262-automation 93b2865cad [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 5895364ed5 on Fri Aug 03 2018 18:02:54 GMT+0000 (Coordinated Universal Time) 2018-08-03 18:05:47 +00:00
Leo Balter d4fd1eef72 report curation 2018-08-02 14:35:30 -04:00
Leo Balter a2447a0084 Curation of the stress folder
These are not spec tests neither identify points not already covered in the tests to cover something new from the specs
2018-08-02 14:35:30 -04:00
Leo Balter a83bae960c Remove folders without unit tests for ES
I observed each file in each of these folders and they don't contain any test matching for specific parts of ECMAScript, without a specific place for Test262.

Ref https://github.com/bocoup/test262-automation/pull/76
2018-07-31 14:19:43 -04:00
Leo Balter ead09a5080
Merge pull request #1658 from test262-automation/javascriptcore-test262-automation-export-4314e2cab
Import test changes from JavaScriptCore
2018-07-30 14:24:28 -04:00
test262-automation 9d20f5073b [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 00228d3ccc targetRevisionAtLastExport: 4314e2cab
2018-07-30 18:04:08 +00:00
test262-automation df1fc484ea [javascriptcore-test262-automation] Changes from https://github.com/webkit/webkit.git at sha 00228d3ccc on Mon Jul 30 2018 18:01:10 GMT+0000 (Coordinated Universal Time) 2018-07-30 18:04:02 +00:00
Rick Waldron aba414caad Documentation: $262.agent.report() is expected to convert its argument to a string.
Fixes #1640
Closes #1652
2018-07-30 11:50:14 -04:00
test262-automation 24f861721f [javascriptcore-test262-automation] Updated curation log with latest revision sha's from export and changed files.
sourceRevisionAtLastExport: 8bfa53d50 targetRevisionAtLastExport: 8bc4e38a
2018-07-29 23:55:12 -04:00
Ms2ger fd666c5048 Intl.RelativeTimeFormat: Add some en-US-specific tests for format/formatToParts. 2018-07-27 13:09:44 -04:00
Ms2ger 604df708b3 Intl.RelativeTimeFormat: Add some tests for format, formatToParts, and resolvedOptions. 2018-07-27 13:02:00 -04:00
Ms2ger 8e15f532e1 Intl.NumberFormat: Update another test for negative zero.
The specification was updated in https://github.com/tc39/ecma402/pull/232.
2018-07-27 13:00:04 -04:00
Jordan Harband 765de9136d
`global`: update property name 2018-07-25 17:11:53 -07:00