{"action":"created","issue":{"url":"https://api.github.com/repos/bterlson/test262-harness/issues/34","labels_url":"https://api.github.com/repos/bterlson/test262-harness/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/bterlson/test262-harness/issues/34/comments","events_url":"https://api.github.com/repos/bterlson/test262-harness/issues/34/events","html_url":"https://github.com/bterlson/test262-harness/issues/34","id":57881477,"number":34,"title":"annexB/B.2.1.js fails in test262-harness with -r node, >= 0.11","user":{"login":"smikes","id":5124609,"avatar_url":"https://avatars.githubusercontent.com/u/5124609?v=3","gravatar_id":"","url":"https://api.github.com/users/smikes","html_url":"https://github.com/smikes","followers_url":"https://api.github.com/users/smikes/followers","following_url":"https://api.github.com/users/smikes/following{/other_user}","gists_url":"https://api.github.com/users/smikes/gists{/gist_id}","starred_url":"https://api.github.com/users/smikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smikes/subscriptions","organizations_url":"https://api.github.com/users/smikes/orgs","repos_url":"https://api.github.com/users/smikes/repos","events_url":"https://api.github.com/users/smikes/events{/privacy}","received_events_url":"https://api.github.com/users/smikes/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-02-17T04:10:52Z","updated_at":"2015-07-22T19:34:18Z","closed_at":"2015-07-22T19:34:18Z","body":"Here's the failure on >= 0.11.  It only happens with -r node, -r node-ip\r\n\r\nAgain, `test262` and `test262-harness` are siblings:\r\n\r\n`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`\r\n\r\nOutput is:\r\n```\r\nNow using node v0.10.35\r\nRan 1 tests\r\n1 passed\r\n0 failed\r\nTook 0.027 seconds\r\nNow using node v0.11.15\r\nFAIL test/annexB/B.2.1.js\r\n     Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)\r\n     Exp: no error\r\n     Got: Error: not enumerable\r\n\r\nRan 1 tests\r\n0 passed\r\n1 failed\r\nTook 0.044 seconds\r\nNow using node v0.12.0\r\nFAIL test/annexB/B.2.1.js\r\n     Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)\r\n     Exp: no error\r\n     Got: Error: not enumerable\r\n\r\nRan 1 tests\r\n0 passed\r\n1 failed\r\nTook 0.044 seconds\r\nNow using io.js v1.0.4\r\nFAIL test/annexB/B.2.1.js\r\n     Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)\r\n     Exp: no error\r\n     Got: Error: not enumerable\r\n\r\nRan 1 tests\r\n0 passed\r\n1 failed\r\nTook 0.046 seconds\r\nNow using io.js v1.1.0\r\nFAIL test/annexB/B.2.1.js\r\n     Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)\r\n     Exp: no error\r\n     Got: Error: not enumerable\r\n\r\nRan 1 tests\r\n0 passed\r\n1 failed\r\nTook 0.046 seconds\r\nNow using io.js v1.2.0\r\nFAIL test/annexB/B.2.1.js\r\n     Object.getOwnPropertyDescriptor returns data desc for functions on built-ins (Global.escape)\r\n     Exp: no error\r\n     Got: Error: not enumerable\r\n\r\nRan 1 tests\r\n0 passed\r\n1 failed\r\nTook 0.047 seconds\r\n```\r\n\r\nI suspect the problem is that when the global object is set up inside `test262-harness` code, the `enumerable: false` descriptor property is not preserved."},"comment":{"url":"https://api.github.com/repos/bterlson/test262-harness/issues/comments/123838139","html_url":"https://github.com/bterlson/test262-harness/issues/34#issuecomment-123838139","issue_url":"https://api.github.com/repos/bterlson/test262-harness/issues/34","id":123838139,"user":{"login":"bterlson","id":11236,"avatar_url":"https://avatars.githubusercontent.com/u/11236?v=3","gravatar_id":"","url":"https://api.github.com/users/bterlson","html_url":"https://github.com/bterlson","followers_url":"https://api.github.com/users/bterlson/followers","following_url":"https://api.github.com/users/bterlson/following{/other_user}","gists_url":"https://api.github.com/users/bterlson/gists{/gist_id}","starred_url":"https://api.github.com/users/bterlson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bterlson/subscriptions","organizations_url":"https://api.github.com/users/bterlson/orgs","repos_url":"https://api.github.com/users/bterlson/repos","events_url":"https://api.github.com/users/bterlson/events{/privacy}","received_events_url":"https://api.github.com/users/bterlson/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T19:34:18Z","updated_at":"2015-07-22T19:34:18Z","body":"Node v.0.12 will continue to not work properly. This is ok because it's fixed in later versions."}}