Changes between Version 13 and Version 16 of Ticket #3704


Ignore:
Timestamp:
03/03/2016 11:38:22 AM (4 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #3704

    • Property Cc sergz added
    • Property Summary changed from Support Edge's user agent string in the generated "info" module to Consider Edge a seperate platform in the generated "info" module
  • Ticket #3704 – Description

    v13 v16  
    22The `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` and the platform is currently hard-coded to `"chromium"`. However, with Edge, this is no longer accurrate. 
    33 
     4Also the version given by the `Edge/` token in the user agent string, parsed there, refers to the platform (EdgeHTML), not to the application (Edge), unlike for other browsers. 
     5 
    46=== What to change === 
    5 Change 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. 
     7Change the logic in `chromeInfo.js.tmpl` so that following `info.*` properties are initialized like below if the user agent string is indicating Edge:  
     8 
     9|| `platform` || `"edgehtml"` || 
     10|| `platformVersion` || the version given by the `Edge/` token in the UA || 
     11|| `application` || `"edge"` || 
     12|| `applicationVersion` || `"0"` ||