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

VERIFIED WONTFIX

Status

()

Core
DOM: Core & HTML
--
trivial
VERIFIED WONTFIX
16 years ago
16 years ago

People

(Reporter: Henrik Gemal, Assigned: jst)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
if vendor isn't set like in mozilla:
alert(typeof(navigator.vendor))
should show undefined. currently it show up as string.
(Assignee)

Comment 1

16 years ago
Why?
(Reporter)

Comment 2

16 years ago
to me it just sounded more correct to make the object undef if it's not here...?
(Assignee)

Comment 3

16 years ago
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
Last Resolved: 16 years ago
Resolution: --- → WONTFIX
(Reporter)

Comment 4

16 years ago
ok.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.