Closed Bug 638551 Opened 13 years ago Closed 12 years ago

web console can't see monkey-patched properties of built-ins

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: dherman, Unassigned)

Details

(Whiteboard: [console-1])

Write a script that modifies a built-in, e.g.:

    Object.thingy = 42;

Then run the script and try typing

    Object.thingy

in the console. Auto-complete picks it up as you type, but the result is undefined.

Dave
Whiteboard: [console-1]
OS: Mac OS X → All
Hardware: x86 → All
Version: 3.6 Branch → Trunk
this appears to be fixed, at least if I type Object.thingy = 42; on the console's input line. When you say "write a script" do you mean add a script to content that does this?

Please reopen if this is still a problem.
Status: NEW → RESOLVED
Closed: 12 years ago
Component: Developer Tools → Developer Tools: Console
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.