You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here's the failure on >= 0.11. It only happens with -r node, -r node-ip
Again, test262 and test262-harness are siblings:
for x in 0.10 0.11 0.12 1.0 1.1 1.2 ; do nvm use $x; ../test262-harness/bin/run.js test/annexB/B.2.1.js -r node-ip ; done
Output is:
Now using node v0.10.35
Ran 1 tests
1 passed
0 failed
Took 0.027 seconds
Now using node v0.11.15
FAIL test/annexB/B.2.1.js
Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)
Exp: no error
Got: Error: not enumerable
Ran 1 tests
0 passed
1 failed
Took 0.044 seconds
Now using node v0.12.0
FAIL test/annexB/B.2.1.js
Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)
Exp: no error
Got: Error: not enumerable
Ran 1 tests
0 passed
1 failed
Took 0.044 seconds
Now using io.js v1.0.4
FAIL test/annexB/B.2.1.js
Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)
Exp: no error
Got: Error: not enumerable
Ran 1 tests
0 passed
1 failed
Took 0.046 seconds
Now using io.js v1.1.0
FAIL test/annexB/B.2.1.js
Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)
Exp: no error
Got: Error: not enumerable
Ran 1 tests
0 passed
1 failed
Took 0.046 seconds
Now using io.js v1.2.0
FAIL test/annexB/B.2.1.js
Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)
Exp: no error
Got: Error: not enumerable
Ran 1 tests
0 passed
1 failed
Took 0.047 seconds
I suspect the problem is that when the global object is set up inside test262-harness code, the enumerable: false descriptor property is not preserved.
The text was updated successfully, but these errors were encountered:
vm.runInThisContext() compiles code, runs it and returns the result. Running code does not have access to local scope, but does have access to the current global object.
vs
vm.runInNewContext compiles code, contextifies sandbox if passed or creates a new contextified sandbox if it’s omitted, and then runs the code with the sandbox as the global object and returns the result.
Here's the failure on >= 0.11. It only happens with -r node, -r node-ip
Again,
test262
andtest262-harness
are siblings:for x in 0.10 0.11 0.12 1.0 1.1 1.2 ; do nvm use $x; ../test262-harness/bin/run.js test/annexB/B.2.1.js -r node-ip ; done
Output is:
I suspect the problem is that when the global object is set up inside
test262-harness
code, theenumerable: false
descriptor property is not preserved.The text was updated successfully, but these errors were encountered: