Reputation: 17392
Whatever I type after "javascript:" in the address in firefox 6, firebug says "uncaught exception: ReferenceError: document is not defined". If I try window, it says "uncaught exception: ReferenceError: window is not defined."
If I type the same code in the firebug command line, it works. What gives?
Upvotes: 4
Views: 6771
Reputation: 55432
This behavior was filed as a in the Mozilla project and resolved per this bug report.
Upvotes: 4