| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Some tests involving the directive prologue are invalidated by source
text transformations that insert executable code in the beginning of the
script. Implement a `raw` flag that allows these tests to opt-out of
this transformation. Update the relevant tests to use this flag (and
remove references to globals only available when code is injected).
Update the Python runner accordingly:
- Do not run tests marked as "raw" in strict mode
- Reject invalid test configurations
Update the browser runner accordingly:
- Do not modify the script body of tests marked as "raw"
|
|
|
|
|
| |
Update the URLs used by dynamic script loading code according to the new
location of the recently-moved web site scripts.
|
|
|
|
|
|
|
|
|
|
|
| |
Some JavaScript source files are only relevant in the context of the
Test262 website. They should not be explicitly included by individual
tests, so their presence in the `harness/` directory alongside "include"
files is misleading.
Move the scripts to a location within the `website/` directory to
better-reflect their intended use. Update the relevant HTML templates
with the new locations.
|
| |
|
|\
| |
| | |
Use `target='_blank'` to open links in new window
|
| |
| |
| |
| | |
Let user decide whether he wants to open a link in a new tab or not.
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
parseTestRecord: add support for YAML frontmatter
parseTestRecord: initial unit test for test record parser
parseTestRecord: refactor for testing
factor old parsing; add YAML parsing
runner: support "includes" from YAML frontmatter
support frontmatter "includes" in python runner
use test.includes if present instead of scanning test code with regex
harness: factor individual functions out into files
tools: handle YAML errors
tolerate missing keys in dictionary (flags, includes)
report filename when empty frontmatter block
new option --list-includes to test262.py
harness: factor helper functions into separate files
sth: remove extra close-paren (syntax error)
test_common: TDD; failing parse of YAML
common: use parseTestRecord (YAML-aware)
|
|
|
|
|
|
|
|
| |
Bug 1131: use String.prototype.charAt() in 15.12.3-11-26
Both of these changes were accidentaly dropped when I regenerated patches for these bugs. I have grepped the testsuite to ensure that the annexB functions only appear in the annexB section of the testsuite.
NOTE: Also regenerated the website based on this change. (Still waiting for permission to actually update the live website)
|
|
|
|
|
|
|
|
|
|
|
| |
5438759531d2
f80873831607
11a02c1eea0a
971c2b8e0e2f
032499be5fa1
579bd85aaf2a
579bd85aaf2a
89ff32d0344b
|
| |
|
| |
|
|
|
|
| |
Updated copyright notice for 2013.
|
| |
|
|
|
|
| |
Fixed a property access in 6.4_c so that the error message shows the correct expected value.
|
|
|
|
| |
called with non-objects as this values.
|
|
|
|
|
|
| |
- Added test for proleptic Gregorian calendar with no year 0.
- Spelled 𠮷野家 correctly with supplementary characters.
- Fixed default value for useGrouping.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
String.prototype.localeCompare.
|
|
|
|
| |
API Specification.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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.
|
| |
| |
| |
| | |
Running packager.py on Mac unfortunately also changes some line terminators in generated files (bug 444), so lots of additional files in this commit.
|
| |
| |
| |
| | |
https://bugs.ecmascript.org/show_bug.cgi?id=611
|
| | |
|
|/ |
|
| |
|
|
|
|
| |
https://bugs.ecmascript.org/show_bug.cgi?id=333
|
|
|
|
| |
https://bugs.ecmascript.org/show_bug.cgi?id=223 )
|
|
|
|
| |
https://bugs.ecmascript.org/show_bug.cgi?id=326 until open issue is resolved.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
salvaged (e.g., need locale info to properly predict whether we're subject to
DST).
|
|
|
|
| |
need to move some tests over to best practices.
|
| |
|
|
|
|
| |
All Microsoft-contributed *.js and *.py sources now have Ecma's copyright header.
|
|
|
|
| |
default.html.
|
|
|
|
| |
https://bugs.ecmascript.org/show_bug.cgi?id=270 resolved.
|