-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.
Description
- Version: v8.2.1
- Platform: Linux 4.9.0-3-amd64 SMP Debian 4.9.30-2+deb9u2 (2017-06-26) x86_64 GNU/Linux
- Subsystem: vm
> vm.runInNewContext('undefined', { undefined: 123 })
123
> vm.runInNewContext('this.undefined', { undefined: 123 })
123
> // Compare:
> this.undefined = 123
> undefined
undefined
> this.undefined
undefinedundefined (and NaN and Infinity) is defined as unwritable, unconfigurable, unenumerable properties on the global object, and thus IMO should not be overridable through the VM module.
It is unclear if #13265 fixes this, probably not though as this issue concerns getting the value.
tniessen and Ginden
Metadata
Metadata
Assignees
Labels
v8 engineIssues and PRs related to the V8 dependency.Issues and PRs related to the V8 dependency.vmIssues and PRs related to the vm subsystem.Issues and PRs related to the vm subsystem.