Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
test262
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pmaksimo
test262
Commits
ede572ec
Commit
ede572ec
authored
13 years ago
by
Mark Miller
Browse files
Options
Downloads
Patches
Plain Diff
Fixed EarlyError naming. Accepting and ignoring at-bestPractice.
Added .hgignore
parent
aa67d8e5
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.hgignore
+4
-0
4 additions, 0 deletions
.hgignore
tools/converter/convert.js
+11
-2
11 additions, 2 deletions
tools/converter/convert.js
with
15 additions
and
2 deletions
.hgignore
0 → 100644
+
4
−
0
View file @
ede572ec
\.DS_Store$
\.d8_history$
~$
\.pyc$
This diff is collapsed.
Click to expand it.
tools/converter/convert.js
+
11
−
2
View file @
ede572ec
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
*/
*/
global
.
GlobalScopeTests
=
global
.
GlobalScopeTests
||
{};
global
.
GlobalScopeTests
=
global
.
GlobalScopeTests
||
{};
global
.
EarlyErrorRePat
=
'
EarlyErrorRePat
'
;
global
.
EarlyErrorRePat
=
'
EarlyErrorRePat
'
;
global
.
NotEarlyErrorString
=
'
NotEarlyError
String
'
;
global
.
NotEarlyErrorString
=
'
NotEarlyError
'
;
/////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////
...
@@ -372,7 +372,16 @@
...
@@ -372,7 +372,16 @@
// If we see any properties other than these after normalization,
// If we see any properties other than these after normalization,
// we signal an error.
// we signal an error.
var
KNOWN_PROPS
=
[
'
path
'
,
'
description
'
,
var
KNOWN_PROPS
=
[
'
path
'
,
'
description
'
,
'
noStrict
'
,
'
onlyStrict
'
,
'
negative
'
];
'
noStrict
'
,
'
onlyStrict
'
,
'
negative
'
,
// Not yet supported ones that should not be
// accepted until they are supported are
// commented aout below. Not supported ones that
// can safely be present and ignored are enabled
// below.
// 'generator', 'verbatim',
'
noHelpers
'
,
'
bestPractice
'
];
/**
/**
* Turns the (assumed) normalized test record into its string form
* Turns the (assumed) normalized test record into its string form
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment