Closed Bug 477412 Opened 16 years ago Closed 12 years ago

Add an undetectable properties to js shell

Categories

(Core :: JavaScript Engine, enhancement)

x86
macOS
enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: jruderman, Unassigned)

Details

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
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.