| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
Is this test "moved" or newly added? |
Sorry, something went wrong.
|
added- comment fixed. thanks! |
Sorry, something went wrong.
| const assert = require('assert'); | ||
| const vm = require('vm'); | ||
|
|
||
| var context = vm.createContext(); |
There was a problem hiding this comment.
Can this be const?
Sorry, something went wrong.
| const res = vm.runInContext(` | ||
| this.x = 'prop'; | ||
| delete this.x; | ||
| Object.getOwnPropertyDescriptor(this, "x"); |
There was a problem hiding this comment.
Can you use single quotes with x here?
Sorry, something went wrong.
| @@ -0,0 +1,15 @@ | |||
| 'use strict'; | |||
| // Refs:https://github.com/nodejs/node/issues/6287 | |||
There was a problem hiding this comment.
Space after the colon please.
Sorry, something went wrong.
Deleting property in the vm context has no effect as reported in nodejs#6287 The test is moved to the known_issues and will be fixed with the 5.5 V8 API changes.
There was a problem hiding this comment.
Sorry, something went wrong.
Sorry, something went wrong.
Deleting property in the vm context has no effect as reported in nodejs#6287 The test is moved to the known_issues and will be fixed with the 5.5 V8 API changes. PR-URL: nodejs#10272 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
tests
Description of change
A test addressing #6287:
Deleting property in the vm context has no effect
is added to the known_issues directory.
It will be fixed with the 5.5 V8 API changes