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
a7192a9e
Commit
a7192a9e
authored
10 years ago
by
André Bargull
Browse files
Options
Downloads
Patches
Plain Diff
Don't use Annex B extensions in main test suite
Fixes #185 Fixes #186
parent
ceeefa31
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
test/built-ins/Object/defineProperty/15.2.3.6-2-17-1.js
+2
-2
2 additions, 2 deletions
test/built-ins/Object/defineProperty/15.2.3.6-2-17-1.js
test/built-ins/String/prototype/replace/S15.5.4.11_A5_T1.js
+1
-1
1 addition, 1 deletion
test/built-ins/String/prototype/replace/S15.5.4.11_A5_T1.js
with
3 additions
and
3 deletions
test/built-ins/Object/defineProperty/15.2.3.6-2-17-1.js
+
2
−
2
View file @
a7192a9e
...
@@ -8,13 +8,13 @@
...
@@ -8,13 +8,13 @@
es5id: 15.2.3.6-2-17-1
es5id: 15.2.3.6-2-17-1
description: >
description: >
Object.defineProperty - argument 'P' is a number that converts to
Object.defineProperty - argument 'P' is a number that converts to
a string (value is 1
(trailing 5 zeros)
)
a string (value is 1)
includes: [runTestCase.js]
includes: [runTestCase.js]
---*/
---*/
function
testcase
()
{
function
testcase
()
{
var
obj
=
{};
var
obj
=
{};
Object
.
defineProperty
(
obj
,
00000
1
,
{});
Object
.
defineProperty
(
obj
,
1
,
{});
return
obj
.
hasOwnProperty
(
"
1
"
);
return
obj
.
hasOwnProperty
(
"
1
"
);
...
...
This diff is collapsed.
Click to expand it.
test/built-ins/String/prototype/replace/S15.5.4.11_A5_T1.js
+
1
−
1
View file @
a7192a9e
...
@@ -14,7 +14,7 @@ var __repl = "$1";
...
@@ -14,7 +14,7 @@ var __repl = "$1";
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
//CHECK#1
//CHECK#1
if
(
__str
.
replace
(
__pattern
,
__repl
)
!==
'
aaaaa
'
)
{
if
(
__str
.
replace
(
__pattern
,
__repl
)
!==
'
aaaaa
'
)
{
$ERROR
(
'
#1: var __str = "aaaaaaaaaa,aaaaaaaaaaaaaaa"; var __pattern = /^(a+)
\
1*,
\
1+$/; var __repl = "$1"; __str.replace(__pattern, __repl)===
\'
aaaaa
\'
. Actual:
'
+
__str
.
replace
(
__pattern
,
__repl
));
$ERROR
(
'
#1: var __str = "aaaaaaaaaa,aaaaaaaaaaaaaaa"; var __pattern = /^(a+)
\
\
1*,
\
\
1+$/; var __repl = "$1"; __str.replace(__pattern, __repl)===
\'
aaaaa
\'
. Actual:
'
+
__str
.
replace
(
__pattern
,
__repl
));
}
}
//
//
//////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////
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