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 20665 - Should define navigator.product for web compatibility
Summary: Should define navigator.product for web compatibility
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20666
  Show dependency treegraph
 
Reported: 2013-01-14 18:57 UTC by Travis Leithead [MSFT]
Modified: 2013-03-18 02:32 UTC (History)
7 users (show)

See Also:


Attachments

Description Travis Leithead [MSFT] 2013-01-14 18:57:25 UTC
As we continue to improve IE's engine such that it runs more of the non-IE based web, we've seen that it is now necessary to support the navigator.product attribute. It should simply return "Gecko".

This behavior is already present in Chrome and Firefox, and IE will be adding it soon.

Consider this for HTML5 as well to codify this behavior for interoperability and actual site compatibility.
Comment 1 Ian 'Hixie' Hickson 2013-01-15 00:15:19 UTC
The spec has the following attributes commented out:
   <!-- appMinorVersion: IE only. In IE8b1, returns " Beta" (with the space) -->
   <!-- buildID: Mozilla only -->
   <!-- oscpu: Mozilla only -->
   <!-- product: Mozilla and Safari only; always returns "Gecko" -->
   <!-- productSub: Mozilla and Safari only; returns same as buildID in Mozilla, and returns the fixed string "20030107" in Safari -->
   <!-- securityPolicy: Mozilla only; always returns "" -->
   <!-- taintEnabled(): Opera, IE and Mozilla have this function as one that always returns false -->
   <!-- vendor: Mozilla and Safari only; always returns "" in Mozilla, and returns the fixed string "Apple Computer, Inc." in Safari -->
   <!-- vendorSub: Mozilla and Safari only; always returns "" -->

Is "product" the only one you want added?
Comment 2 Travis Leithead [MSFT] 2013-01-15 18:48:32 UTC
product is the only one we need to add for web compat. I can't guarantee that this will be the last one, but it's the only one that's cropped up as blocking significant sites so far.
Comment 3 Edward O'Connor 2013-03-11 18:01:10 UTC
Silvia,

This was fixed in WHATWG r7747.
Comment 4 Silvia Pfeiffer 2013-03-18 02:32:55 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If
you are satisfied with this response, please change the state of
this bug to CLOSED. If you have additional information and would
like the Editor to reconsider, please reopen this bug. If you would
like to escalate the issue to the full HTML Working Group, please
add the TrackerRequest keyword to this bug, and suggest title and
text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this
document:   http://dev.w3.org/html5/decision-policy/decision-policy-v2.html

Status: Accepted

Change Description: 
https://github.com/w3c/html/commit/0dc65fd72dedd8e038470789b213ab06d14b3cc3

Rationale: accepted WHATWG change