Closed Bug 680458 Opened 13 years ago Closed 13 years ago

javascript: protocol doesn't find DOM objects and functions

Categories

(Firefox :: Address Bar, defect)

6 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 679530

People

(Reporter: aquilax, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20100101 Firefox/6.0
Build ID: 20110811165603

Steps to reproduce:

typed in the location bar:
javascript: alert("hello");


Actual results:

Nothing and in the error console there was this error:
Error: uncaught exception: ReferenceError: alert is not defined

Tested also in safe mode and not in private mode, always the same result.
Tested after with confirm, prompt, document, window, etc nothing, always undefined.


Expected results:

Should have shown the alert message box with the text "hello" inside?
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.