Commit Graph

354 Commits

Author SHA1 Message Date
Norbert Lindenberg ffe73305c6 New and improved tests for ECMAScript Internationalization API.
- Added test for proleptic Gregorian calendar with no year 0.
- Spelled 𠮷野家 correctly with supplementary characters.
- Fixed default value for useGrouping.
2012-10-04 23:19:33 -07:00
Bill Ticehurst 9d19c87e3e Bug 610: Handle supplementary characters. 2012-08-09 15:02:49 -07:00
Norbert Lindenberg 75fbd71ee0 Updated tests for ECMAScript Internationalization API spec changes; made small enhancements.
- Updated DateTimeFormat tests for new handling of hour12 options property.
- Added a few invalid language tags to test of IsStructurallyValidLanguageTag.
- Added user-defined language tag to test of CanonicalizeLanguageTag.
- Added test for the Intl property of the global object.
2012-09-10 11:53:56 -07:00
Norbert Lindenberg bcf9c18061 Added test to verify Unicode canonical equivalence in String.prototype.localeCompare. 2012-09-10 10:46:44 -07:00
Norbert Lindenberg d71ffa59d5 Added new tests for chapters 10 to 13 of the ECMAScript Internationalization API Specification. 2012-08-26 20:50:24 -07:00
Norbert Lindenberg 1af2425075 Added new tests for chapters 6 and 9 of ECMAScript Internationalization API Specification.
- Removed a few old test cases that were redundant with new, more comprehensive ones.
- Added testIntl.js as standard include for all console tests in test262.py – see related bug 574.
- Added .jshintrc file for settings for the JSHint tool.
2012-08-26 20:49:25 -07:00
Norbert Lindenberg 8cad7d03ce Added tests for requirements imposed on the built-in objects of the ECMAScript Internationalization API Specification by the introduction of chapter 15 of the ECMAScript Language Specification.
- Removed some old tests that were redundant with the new tests.
- Added testBuiltInObject.js as standard include for all console tests in test262.py – see related bug 574.
2012-08-26 20:48:49 -07:00
Norbert Lindenberg e77b0e06cf Moved Google tests from ch13 to ch12. 2012-08-22 18:23:26 -07:00
Norbert Lindenberg 043f19d25e Moved Google tests from ch12 to ch11. 2012-08-22 18:16:59 -07:00
Norbert Lindenberg ea81812a40 Moved Google tests from ch11 to ch10. 2012-08-22 18:06:31 -07:00
Norbert Lindenberg c3111850e3 Updated existing tests for June 2012 spec changes; removed LocaleList tests; fixed minor issues.
- Removed LocaleList tests; updated other tests so they don't depend on LocaleList.
- Updated tests so they no longer assume that the prototype object of a constructor is an instance of that constructor.
- Updated tests so that jshint is happy.
- Removed @path attributes from test files; updated comment in packager.py explaining why they're unnecessary.
- Removed "use strict" statements, which interfere with strict/non-strict testing.
- Removed testcase functions, which are unnecessary.
2012-08-22 17:53:26 -07:00
Norbert Lindenberg 9f4a513496 Merged changes. 2012-08-22 16:12:54 -07:00
Bill Ticehurst 19634b74f6 Update float value tests 2012-08-08 15:16:36 -07:00
Norbert Lindenberg 9a4b4011f8 Got test402 web site into usable shape. Unified headers of test262/402 sites.
- Added table of contents for ECMA-402.
- Added ability to load the right table of contents into results display.
- Added meaningful text to test402 web page.
- Updated test262 web pages for 5.1 edition of ECMA-262.
- Unified headers of test262/402 web pages to ECMAScript <area> <test>.
- Replaced text logos with styled text.
- Decapitalized some text; fixed a typo; expanded an abbreviation.
- Fixed a few issues found by W3 HTML validator.
2012-07-18 12:32:54 -07:00
t-adamre 385b4f7163 Add capability to run chapters individually from the website 2012-06-12 14:54:30 -07:00
Bill Ticehurst 9c48816277 Plugged a global thisarg hole with a new test and fixed an operator 2012-05-18 08:57:21 -07:00
Bill Ticehurst f117cde741 Adding more coverage for 10.4.3 based on feedback in bug https://bugs.ecmascript.org/show_bug.cgi?id=333 2012-05-17 10:30:10 -07:00
Bill Ticehurst 0dca29de4a Adding more tests to cover undefined being non-writable (see https://bugs.ecmascript.org/show_bug.cgi?id=223 ) 2012-05-16 18:08:23 -07:00
Bill Ticehurst 8646791add Removing RegEx test-case related to https://bugs.ecmascript.org/show_bug.cgi?id=326 until open issue is resolved. 2012-05-11 22:45:26 -07:00
Nebojsa Ciric cc9f5eab48 Initial intl402 checkin. 2012-04-16 13:23:13 -07:00
Bill Ticehurst 1087776d49 This is my first commit 2012-03-29 00:03:52 -07:00
David Fugate 87be1bf6ec https://bugs.ecmascript.org/show_bug.cgi?id=65 fixed. 2012-03-28 16:05:03 -07:00
David Fugate 2a112abbd5 Renamed a couple of files. 2012-03-27 13:01:22 -07:00
David Fugate 44234c8954 https://bugs.ecmascript.org/show_bug.cgi?id=289 is fixed. 2012-03-27 09:34:21 -07:00
David Fugate 898c63ab18 Fixed https://bugs.ecmascript.org/show_bug.cgi?id=288. 2012-03-27 09:27:57 -07:00
David Fugate d6634f8e10 Fixed https://bugs.ecmascript.org/show_bug.cgi?id=293. ConstructDate cannot be
salvaged (e.g., need locale info to properly predict whether we're subject to
DST).
2012-03-26 13:50:38 -07:00
David Fugate d67ef0cb5e Added whitespace (please ignore). 2012-03-16 10:27:59 -07:00
David Fugate 0474c73ea9 Fixed a typo. 2012-03-15 08:54:09 -07:00
David Fugate 4cebb176cf More work on https://bugs.ecmascript.org/show_bug.cgi?id=294. 2012-03-14 15:42:02 -07:00
David Fugate 7201416d53 https://bugs.ecmascript.org/show_bug.cgi?id=240 fixed (removed a BOM and
recoded a file to ANSI).
2012-03-14 14:22:41 -07:00
David Fugate 4ae147241a https://bugs.ecmascript.org/show_bug.cgi?id=294 partially fixed. Still
need to move some tests over to best practices.
2012-03-09 11:54:51 -08:00
David Fugate 448262e29e More @onlyStrict tests should have been @noStrict. 2012-03-08 12:04:15 -08:00
David Fugate 5882a21142 https://bugs.ecmascript.org/show_bug.cgi?id=287 is fixed (completely?). 2012-03-06 08:51:41 -08:00
David Fugate 0612ad7bb3 Added a LICENSE file to the root of the enlistment.
All Microsoft-contributed *.js and *.py sources now have Ecma's copyright header.
2012-02-29 14:23:47 -08:00
David Fugate e45ca2e0f3 https://bugs.ecmascript.org/show_bug.cgi?id=266 and https://bugs.ecmascript.org/show_bug.cgi?id=270 resolved. 2012-02-27 16:45:56 -08:00
David Fugate 4fb5071cd4 Migrated latest external\contributions\Microsoft\ietcLatest changes over to test\suite\*. 2012-02-27 15:46:23 -08:00
David Fugate c64d7b5758 https://bugs.ecmascript.org/show_bug.cgi?id=274
Fixed.

Re-gen'ed the website.
2012-02-24 15:40:42 -08:00
David Fugate d9e409ac1b https://bugs.ecmascript.org/show_bug.cgi?id=269
Extension clause permits function declarations more or less anywhere.
Moved four such negative test cases to best practices directory.
2012-02-24 14:28:50 -08:00
David Fugate 35af99abe1 https://bugs.ecmascript.org/show_bug.cgi?id=276 fixed. 2012-02-24 10:50:14 -08:00
David Fugate e0d156d38c Implemented the following work items:
- https://bugs.ecmascript.org/show_bug.cgi?id=44
- https://bugs.ecmascript.org/show_bug.cgi?id=45
2012-02-22 11:53:29 -08:00
David Fugate 394e82c6c2 Fixed more license headers. 2012-02-08 15:33:30 -08:00
David Fugate e0cf97e344 A conversion tool ripped Microsoft license headers out of globally scoped tests. Fixed 2012-02-07 09:34:36 -08:00
David Fugate fa9e9d3203 Fixed test case paths. 2012-02-03 15:21:45 -08:00
David Fugate 2f093b7988 No test262 test cases can be found under test/suite/chN/*.js for
all 'N'.  If such files existed, they've been moved to test/suite/chN/N.0/
now.
2012-02-03 13:36:07 -08:00
David Fugate 279825ea44 Added experimental test402 support (JS internationalization standard). 2012-01-25 14:04:40 -08:00
David Fugate 98a0b9e10e S8.5_A13_T1 is implementation dependent (cannot pass on current ARM
architectures), but worth keeping around for the coverage it provides.
Documented that this is expected to fail on ARM.
2012-01-18 12:16:09 -08:00
David Fugate e6f9015301 Last two invalid test cases have been fixed. 2012-01-16 14:06:17 -08:00
David Fugate 4d241e4bec S7.8.5_A3.1_T7 through S7.8.5_A3.1_T9 were invalid as written. The only way to specify unicode flags
to literal regexp patterns is through eval and similar mechanisms (e.g., Function constructor).  Fixed.

All but two of the remaining disabled tests in excludelist.xml were disabled because the tests polluted
the global JS environment, not because the tests themselves were invalid.  This is no longer an issue as
of the latest test262 harness (actually it wasn't an issue about a year ago either).  Re-enabled.
2012-01-16 12:51:55 -08:00
David Fugate b9160ef102 Mark Miller removed this invalid test in Sputnik (see http://code.google.com/p/sputniktests/source/detail?r=93), and
I'm propagating that change to test262 now.
2012-01-16 11:27:31 -08:00
David Fugate a180d5f371 https://bugs.ecmascript.org/show_bug.cgi?id=61 is fixed. 2012-01-16 11:17:05 -08:00
David Fugate 9e00383b5f Two more issues called out in excludelist.xml are gone. 2012-01-13 15:48:35 -08:00
David Fugate 42737015f4 https://bugs.ecmascript.org/show_bug.cgi?id=75 2012-01-13 15:15:29 -08:00
David Fugate 9dbc4e9821 Test harness changes last Fall enabled execution of this===theGlobalObject Sputnik tests again.
Also, two of this weren't actually this-related.  Fixed their separate issues.
2012-01-13 14:54:45 -08:00
David Fugate 7e7ebe85f2 https://bugs.ecmascript.org/show_bug.cgi?id=60 2012-01-13 13:31:45 -08:00
David Fugate e394b50364 Rest of https://bugs.ecmascript.org/show_bug.cgi?id=23 fix. 2012-01-13 11:33:05 -08:00
David Fugate ab5f9c379f https://bugs.ecmascript.org/show_bug.cgi?id=23 resolved. 2012-01-13 11:31:20 -08:00
David Fugate d8add6e8c6 https://bugs.ecmascript.org/show_bug.cgi?id=14 fixed. 2012-01-13 09:51:10 -08:00
David Fugate fb301f6f8e https://bugs.ecmascript.org/show_bug.cgi?id=7 2012-01-13 09:42:02 -08:00
David Fugate 30b01f46c8 https://bugs.ecmascript.org/show_bug.cgi?id=80 resolved. 2012-01-13 09:16:55 -08:00
David Fugate e28b10e5a6 https://bugs.ecmascript.org/show_bug.cgi?id=218 resolved. 2012-01-12 16:39:35 -08:00
David Fugate 1ba74c5d0d https://bugs.ecmascript.org/show_bug.cgi?id=215 resolved. 2012-01-12 10:15:26 -08:00
David Fugate 9df276c969 https://bugs.ecmascript.org/show_bug.cgi?id=179
S11.1.1_A2.js is invalid and there's no way to make it valid.  Removing.
2012-01-12 09:49:58 -08:00
David Fugate b359da88be No way to make S15.5.4.8_A1_T11.js (https://bugs.ecmascript.org/show_bug.cgi?id=30)
valid.  Removing it as similar coverage already exists.
2012-01-12 09:43:20 -08:00
David Fugate 5254b88b29 https://bugs.ecmascript.org/show_bug.cgi?id=26 is fixed. 2012-01-05 09:17:14 -08:00
David Fugate 252edbac3e Merge. 2011-11-28 11:09:10 -08:00
Mark Miller 8642ca34b5 Opera crash fixed as of 12alpha build 1155, so this test no longer
needs to be excluded.
2011-11-18 09:58:54 -08:00
David Fugate fd38135510 Merge. 2011-11-11 11:58:16 -08:00
David Fugate 5df3134fac Fixed https://bugs.ecmascript.org/show_bug.cgi?id=207. 2011-11-11 11:40:05 -08:00
Mark Miller 5a935ed229 Revise opera crash exclusions to exclude only the test that causes the crash 2011-11-09 12:02:28 -08:00
David Fugate 4e74861ccb Updated Microsoft's test262 contributions reflecting the IE10 PPB4 update to IE Test Center.
77 new (mostly) strict mode tests plus the removal of one invalid test case.

Sputnik and IE Test Center tests now live side-by-side in ch* directories under test/suite.
2011-11-04 12:46:23 -07:00
Mark Miller b109056711 Merged 2011-10-04 07:27:01 +02:00
Mark Miller debc8d8b67 Built-in functions should not have non-deletable, non-poisoned
"caller" and "arguments" properties.
2011-10-04 06:52:13 +02:00
David Fugate b66316de69 Re-gen'ed Sputnik test case path metadata. 2011-10-03 13:04:52 -07:00
David Fugate 69a1080bb6 Renamed Sputnik directories. 2011-10-03 12:20:26 -07:00
Mark Miller 68e437e708 Fixing malformed test cases 2011-09-30 13:55:26 -04:00
Mark Miller 13b63c5486 test262 console runner working! 2011-09-30 08:24:38 -04:00
Mark Miller aad373e620 Some more test improvements 2011-09-30 08:22:45 -04:00
Mark Miller 64db10aa2d Just reformatting to 80 columns 2011-09-30 03:59:50 -04:00
David Fugate a8625046d2 Re-enabled 12 tests. 2011-09-27 12:52:17 -07:00
David Fugate ffa85c2584 Moved all test helper functions into sta.js; removed sputnikLib.js.
Laid down the groundwork for a console-based test runner.
2011-09-26 16:12:46 -07:00
David Fugate 352d86b8ed Support not-NotEarlyError as well. 2011-09-25 17:05:32 -07:00
David Fugate 515ed58d60 Fixed bug in generated IETC test cases regarding NotEarlyError. 2011-09-25 16:25:20 -07:00
David Fugate 209657430d Re-gen'ed website. 2011-09-25 16:21:18 -07:00
Mark Miller 4632b7bf47 Removals that would have been propagated from my last conversion if
I'd used "hg addremove"
2011-09-25 15:59:46 -07:00
Mark Miller e4aebe55c7 Regenerated from last bug fixed to pre-converted sources. 2011-09-25 15:11:03 -07:00
Mark Miller 9e39b942b5 Moved test/suite/converted to its new home, as our new canonical
source starting NOW, to test/suite.
2011-09-25 14:44:28 -07:00
Mark Miller 5f94652df2 Moving sputnik/Conformance to new home at
external/contributions/Google/sputnik_conformance_modified.  This move
is not consistent by itself. Also need upcoming commit to convert.js.
2011-09-25 12:53:12 -07:00
David Fugate 1e373168c6 Merge. 2011-09-25 12:25:14 -07:00
Mark Miller f2b47a7ff3 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=127 2011-09-25 12:22:47 -07:00
David Fugate 46ecc39d92 Removed ietestcenter from test/suite/*. 2011-09-25 12:11:19 -07:00
Mark Miller d1f98e1059 Merged 2011-09-25 12:09:18 -07:00
Mark Miller 83430d0123 Removing elements of test/suite/sputnik that are not used to test
conformance. The top-level *.js files have already been duplicated in
test/harness. The directories are for testing non-standard behaviors,
and these remain under
external/contributions/Google/sputniktests/tests/
2011-09-25 12:08:25 -07:00
David Fugate d8d5a15271 Merge. 2011-09-25 12:04:15 -07:00
David Fugate 71b447b8b4 Removed sputnik_converted. We now take what's under external/contributions/Google/* directly. 2011-09-25 12:03:31 -07:00
Mark Miller 0317028e15 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=13 2011-09-25 11:59:31 -07:00
Mark Miller b9bd140cef Merged 2011-09-25 11:50:12 -07:00
Mark Miller 58740a7088 https://bugs.ecmascript.org/show_bug.cgi?id=22 2011-09-25 11:48:37 -07:00
David Fugate 2470de7cd8 Merge. 2011-09-25 11:41:49 -07:00
Mark Miller 72a64280ae Fixes https://bugs.ecmascript.org/show_bug.cgi?id=133 2011-09-25 11:38:13 -07:00
Mark Miller 96682a8372 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=12
Hg: Enter commit message.  Lines beginning with 'HG:' are removed.
2011-09-25 11:33:41 -07:00
Mark Miller 45f7cee019 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=15 2011-09-25 11:21:54 -07:00
Mark Miller 8c642b6172 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=58 2011-09-25 11:11:11 -07:00
Mark Miller 8a52d9cc33 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=128 2011-09-25 10:50:40 -07:00
David Fugate a8e88a93dd Merge. 2011-09-25 10:48:00 -07:00
David Fugate d5bf95c628 Made exception type checking looser: window.onerror isn't spec'ed to give us the
exact error type, but we should get the '.message' property.
2011-09-25 10:47:34 -07:00
Mark Miller e691523b51 Fixing https://bugs.ecmascript.org/show_bug.cgi?id=59 2011-09-25 10:43:20 -07:00
Mark Miller eea2f45421 Tests for spec violation generically by enumerating properties. 2011-09-25 10:40:20 -07:00
David Fugate cf22b0c733 Removed .DS_Store file. 2011-09-25 10:32:11 -07:00
Mark Miller aa67d8e5ac Regenerated 2011-09-25 08:38:17 -07:00
Mark Miller 9d3bab7052 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=25
Hg: Enter commit message.  Lines beginning with 'HG:' are removed.
2011-09-24 19:44:20 -07:00
Mark Miller d378bd6ddd Fixes https://bugs.ecmascript.org/show_bug.cgi?id=24 2011-09-24 19:37:56 -07:00
Mark Miller 7cd21e6f24 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=120 2011-09-24 19:31:03 -07:00
Mark Miller a277262e89 Regenerated 2011-09-24 18:15:40 -07:00
David Fugate 20d575423d Strict property metadata fixes. 2011-09-24 17:43:13 -07:00
Mark Miller 9025e2580b Merged 2011-09-24 17:38:16 -07:00
Mark Miller 46ae3ee2ac Fixes https://bugs.ecmascript.org/show_bug.cgi?id=117 Also removed
from excludes.xml tests that were fixed and removed either by this
commit or by earlier commits today
2011-09-24 17:37:08 -07:00
David Fugate 1e314c6e13 Merge. 2011-09-24 17:20:55 -07:00
David Fugate 305a2bb676 Fixed some strict metadata. 2011-09-24 17:19:43 -07:00
Mark Miller db75ad6977 Fixed https://bugs.ecmascript.org/show_bug.cgi?id=29 2011-09-24 16:56:56 -07:00
Mark Miller 23e9693702 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=28 2011-09-24 16:52:11 -07:00
Mark Miller 318cebf831 Fixes https://bugs.ecmascript.org/show_bug.cgi?id=31 2011-09-24 16:47:27 -07:00
Mark Miller dfa7024e15 Merged 2011-09-24 16:42:59 -07:00
Mark Miller 6adc4f7da9 Fixes bug https://bugs.ecmascript.org/show_bug.cgi?id=27 Also changed
an inappropriate @strict_mode_negative to @noStrict. There are more
(many more?) of these to fix
2011-09-24 16:42:04 -07:00
David Fugate 2bf9e7e2a0 Merge. 2011-09-24 16:36:50 -07:00
David Fugate 2b0122ef82 All tests are globally scoped tests - Part I. 2011-09-24 16:35:45 -07:00
Mark Miller 5c91ef1cb8 Merged 2011-09-24 16:16:50 -07:00
Mark Miller bb29020ab2 Closing out https://bugs.ecmascript.org/show_bug.cgi?id=18 Some of
these tests were valid tests of best practices, but not of the
normative spec. We moved these to a new bestPractices directory and
added a new not-yet-operational @bestPractices property.
2011-09-24 16:08:47 -07:00
David Fugate ab1142e498 Merge. 2011-09-24 11:48:21 -07:00
David Fugate 5be3b44a3d Removed all traces of test pre-req requirements.
Generate the 'id' property from the 'path' property.
2011-09-24 11:46:26 -07:00
Mark Miller 479a396ffd Regenerated 2011-09-24 11:13:49 -07:00
Mark Miller 66abdf4354 Changed strictOnly to onlyStrict 2011-09-24 11:13:02 -07:00
Mark Miller 89ab56beb7 corresponding generated 2011-09-24 08:25:22 -07:00
Mark Miller 9c33379225 Added all tests added to repairES5.js since the last time I contributed SES-relevant tests to test262. 2011-09-23 23:50:15 -07:00
Mark Miller db516d2a64 Regenerated w fixed paths and ietc optimizations turned off 2011-09-23 19:33:08 -07:00
Mark Miller c79fbddc94 Just pure directory renaming 2011-09-23 18:09:41 -07:00
Mark Miller 176f5f8542 Generated adjusted tests 2011-09-23 17:42:36 -07:00
David Fugate 660a2a08eb Merge. 2011-09-23 16:28:58 -07:00
David Fugate 4fcd9a836d https://bugs.ecmascript.org/show_bug.cgi?id=34. Fixed 2011-09-23 16:27:46 -07:00
Mark Miller c590475e5d This time, really merged. Last one was outstanding changes preventing a merge. 2011-09-23 16:22:42 -07:00
Mark Miller 23e84ad9a1 Automatically generated result of converting to the new agreed
(between David Fugate and I) canonical test262 test format
2011-09-23 16:16:28 -07:00
David Fugate 382f5c17e6 https://bugs.ecmascript.org/show_bug.cgi?id=5. Fixed 2011-09-23 15:10:53 -07:00
David Fugate 124d0c7848 Merge. 2011-09-22 12:56:52 -07:00
David Fugate 1b3e926837 Think I've come up with a fix for https://bugs.ecmascript.org/show_bug.cgi?id=11 (Date_library.js):
- juneDate and decemberDate were both one month off.  Fixed
- LocalTZA wasn't actually LocalTZA as defined in ES5.  If we were in DST when
  this was created, LocalTZA was off by one hour.  Fixed
- GetSundayInMonth was completely busted (i.e., arithmetic operations on the 'count'
  param which happens to be a string).  Fixed(?)
- DaylightSzavingTA was defined incorrectly.  It assumed the local time zone adjustment
  hadn't been accounted for.  This wasn't how UTC was calling it.  Fixed(?)
2011-09-22 11:58:06 -07:00
David Fugate ec5dce172d From the 'Run' tab, there's now a clickable 'Error' link showing precisely what
failed.
2011-09-22 11:43:39 -07:00
David Fugate 0937e10a03 Improved global scope 'missing error' error message. 2011-09-22 11:41:30 -07:00
David Fugate 17c67df352 Found more of Sputnik's date helper funcs. 2011-09-21 15:40:29 -07:00
Mark Miller 48f750deb6 Merged 2011-09-14 12:51:59 -07:00
Mark Miller 72d70024b9 Regenerated ietestcenter tests, taking into account info from IETCGlobalScope.js 2011-09-14 12:49:33 -07:00
David Fugate 0b0736cbee S11.1.1_A2 (https://bugs.ecmascript.org/show_bug.cgi?id=179) 2011-09-14 10:45:46 -07:00
Mark Miller d403f61b52 Regenerating converted files post-merge 2011-09-14 00:39:29 -07:00