Add an undetectable properties to js shell

RESOLVED FIXED

Status

()

Core
JavaScript Engine
--
enhancement
RESOLVED FIXED
9 years ago
4 years ago

People

(Reporter: Jesse Ruderman, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
SpiderMonkey supports undetectable properties, and this feature is used in the browser for document.all.  But no such properties exist in the shell, so my fuzzers can't test this feature easily.

Please either:

  A) Add a shell function to create an undetectable property or make a property undetectable

or

  B) Add an undetectable property to the object called "it".
Waldo rewrote this a while ago and added objectEmulatingUndefined():

js> objectEmulatingUndefined()             
({})
js> typeof objectEmulatingUndefined()      
"undefined"
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.