Closed
Bug 1026113
Opened 10 years ago
Closed 2 years ago
declaring "console" var makes window.console undefined
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: Benjamin, Unassigned)
References
Details
In Firefox 29 and Chrome, this code alerts "object":
var console;
alert(typeof console);
In Firefox 30+, it alerts "undefined". Likely this is a result of the move to WebIDL (bug 965860). I sort of suspect the new behavior is more spec-compliant, but this did break a website I'm working on.
Comment 1•10 years ago
|
||
See bug 1024899 and bug 1024806.
Comment 2•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046
Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.
If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 3•2 years ago
|
||
This works now.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•