This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22406 - Navigator is not web-compatible due to missing properties
Summary: Navigator is not web-compatible due to missing properties
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on: 22553 22555 22556 22557 22558
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-19 13:34 UTC by contributor
Modified: 2013-07-09 20:12 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-06-19 13:34:59 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html
Multipage: http://www.whatwg.org/C#the-navigator-object
Complete: http://www.whatwg.org/c#the-navigator-object
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
Navigator is not web-compatible due to missing properties

Posted from: 98.110.194.206 by bzbarsky@mit.edu
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20130606 Firefox/24.0
Comment 1 Boris Zbarsky 2013-06-19 13:58:43 UTC
I ran into this when someone tried to rewrite Navigator to "follow the spec".

Specifically:

1) navigator.plugins and navigator.mimeTypes are implemented by everyone and
   required for web compat.
2) navigator.taintEnabled is implemented by everyone except WebKit and required
   for web compat unless you duplicate some WebKit layout bugs.  See
   <https://bugzilla.mozilla.org/show_bug.cgi?id=679971>.  People don't _call_
   it; they just check that it exists.

Other things that might be issues:

* Everyone (Presto, Gecko, Blink, Trident, WebKit) implements
  navigator.appCodeName, hardcoded to "Mozilla".
* Everyone implements navigator.cookieEnabled (though I haven't tested whether
  they ever return false).
* Everyone implements navigator.javaEnabled (though I haven't tested what it does
  when called).
Comment 2 Ian 'Hixie' Hickson 2013-07-03 14:47:06 UTC
See also bug 20665 comment 1.
Comment 3 Ian 'Hixie' Hickson 2013-07-04 00:08:08 UTC
navigator.plugins and navigator.mimeTypes seem like a fingerprinting disaster. See discussion in bug 22553.
Comment 4 Ian 'Hixie' Hickson 2013-07-09 20:12:16 UTC
Ok, done. Let me know if you find any others that need adding!