Commit Graph

3023 Commits

Author SHA1 Message Date
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
Rick Waldron 4314e2cab3 Make doneprinthandle.js accept the input and produce the output expected by test262-harness. (#1650)
This is not a breaking change, it simply adds explicit handling to the function
2018-07-25 17:06:52 -07:00
Leo Balter eb6a48dea6
Merge pull request #1649 from tc39/IgnoredAmbience-feature-new.target
Generate tests for "feature new.target"
2018-07-25 10:09:35 -07:00
Rick Waldron 588459fc34 Generate tests 2018-07-25 12:19:29 -04:00
Rick Waldron 64f219b666 Features: run feature detector to verify newly added feature flags 2018-07-25 12:16:49 -04:00
Rick Waldron c6d7d66dfa Merge branch 'feature-new.target' of https://github.com/IgnoredAmbience/test262 into IgnoredAmbience-feature-new.target
* 'feature-new.target' of https://github.com/IgnoredAmbience/test262:
  Add feature flags for `new.target`
2018-07-25 11:54:58 -04:00
Thomas Wood 2d4ac25fa0 Add feature flags for `new.target`
Additionally removed the `arrow-function` feature for
test/language/eval-code/direct/new.target-fn.js as it is not testing
arrow-functions, but they are mentioned in the preamble.
2018-07-24 20:31:35 +01:00
Leo Balter 6335c39ade fixes after rebase 2018-07-24 15:03:54 -04:00
Leo Balter afe2647d19 Add harness files to the renaming party 2018-07-24 15:03:54 -04:00
Leo Balter 1452a22a02 more s/wake/notify 2018-07-24 15:03:54 -04:00
Leo Balter d8bbc281dd First renaming for wake to notify in the wait folder 2018-07-24 15:03:54 -04:00
Leo Balter 4911c6e77a Last renamings in the Atomics/wake folder 2018-07-24 15:03:54 -04:00
Leo Balter 6533378823 Atomics.wake to Atomics.notify 2018-07-24 15:03:54 -04:00
Leo Balter 003388e36e Replace esid 2018-07-24 15:03:54 -04:00
Leo Balter cdfc67cd9d Move Atomics/wake to Atomics/notify 2018-07-24 15:03:54 -04:00
Leo Balter d1ad8e8fbc
fix features tag (#1647) 2018-07-24 01:15:26 -04:00
Rick Waldron 8ec747f743 Curation: Removed all test files that depend on $vm (implementation-contributed/javascriptcore) (#1629)
- Eliminates:
  - controlFlowProfiler/*
  - exceptionFuzz/*
2018-07-24 00:32:37 -04:00
Rick Waldron 2d27462e70 Features: Proxy, Reflect (See pull/1643) (#1646)
Follow up to https://github.com/tc39/test262/pull/1643
2018-07-20 18:42:39 -04:00
Thomas Wood d817076ddb Make Proxy/ownKeys tests ES5-parsable. (#1644)
All other Proxy tests use the syntax `attr: function() {...}` for
defining traps, ownKeys was unique in using the shorthand syntax. Change
to longhand syntax for back-compat for partial implementations.
2018-07-20 18:40:10 -04:00
Thomas Wood 4f3cbc756d Add a missing Reflect feature flag.
Proxy/deleteProperty/boolean-trap-result-boolean-true.js was missing a
feature flag for the Reflect library.
2018-07-20 15:04:21 -04:00
Ms2ger 764eb4f8b9 Intl.RelativeTimeFormat: Add tests for invalid units in format/formatToParts. 2018-07-20 15:00:30 -04:00
Ivan Vyshnevskyi 56e0ef70a5 Fix the ranges of non-HexDigits in decodeURI and decodeURIComponent tests 2018-07-20 14:59:31 -04:00
PhistucK 2afcf1d3d9
Added a legal part types test 2018-07-20 11:12:10 +03:00
Ms2ger 94b1e80ab3 Intl.RelativeTimeFormat: Add a test for the return value of supportedLocalesOf() 2018-07-13 20:18:12 -04:00
Rick Waldron ae925f6791 Lint: make esid check allow "%" (#1638) 2018-07-13 16:39:32 -04:00
Mike Pennisi ccaa9571ea Refactor string literal test for parsers
Thsi test for the parsing of string literals was expressed using `eval`.
This made the test more complex than necessary and also prevented the
test from providing value to ECMAScript parsers.

Remove the use of `eval` and instead express the expectation with
literal source text.
2018-07-13 16:17:19 -04:00
Mike Pennisi 4f1e628107 Remove erroneous test
This test is technically valid because it does trigger a SyntaxError in
conforming runtimes. However, it was authored and documented to test
LegacyOctalEscapeSequence, but due to an apparent typo, it actually
demonstrates an unrelated parsing error.

Because 'legacy-octal-escape-sequence-stricts.js' sufficiently tests the
restriction on LegacyOctalEscapeSequence, remove this test rather than
correct it.
2018-07-13 16:17:19 -04:00