Closed Bug 137538 Opened 22 years ago Closed 22 years ago

typeof(navigator.vendor) should be undefined if vendor is not set

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows 2000
defect
Not set
trivial

Tracking

()

VERIFIED WONTFIX

People

(Reporter: bugzilla, Assigned: jst)

Details

if vendor isn't set like in mozilla:
alert(typeof(navigator.vendor))
should show undefined. currently it show up as string.
Why?
to me it just sounded more correct to make the object undef if it's not here...?
navigator.vendor is a string property, even if there is no vendor specified, the
string property will be there. It might not hold a value, but it will be there.
WONTFIX.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WONTFIX
ok.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.