Changes between Version 1 and Version 12 of Ticket #3704


Ignore:
Timestamp:
03/02/2016 01:26:16 PM (4 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3704

    • Property Cc trev kzar oleksandr added
  • Ticket #3704 – Description

    v1 v12  
    11=== Background === 
    2 The `info` module provides metadata such as the platform, application and their respective versions. For Chrome, Opera and Edge that module  is generated from `chromeInfo.js.tmpl`. The code in there relies on `navigator.userAgent` and currently assumes a Chromium based user agent string. Hence Edge is currently detected as `unknown`. 
     2The `info` module provides metadata such as the platform, application and their respective versions. For Chrome, Opera and Edge that module is generated from `chromeInfo.js.tmpl`. The platform in currently hard-coded to `"chromium"`. However, this is no longer be true with Edge. 
    33 
    44=== What to change === 
    5 Change the logic in `chromeInfo.js.tmpl` to account for user agent strings specific to Edge. Both, `info.platform` and `info.application` should be set to `"edge"` when running on Edge.  
     5Change the logic in `chromeInfo.js.tmpl` to set `info.platform` to `"edge"` and the `info.platformVersion` respectively, if the user agent string is specific to Edge.