[wp-meta] [Making WordPress.org] #1303: Browse Happy API detection bugs

Making WordPress.org noreply at wordpress.org
Wed Nov 29 19:16:00 UTC 2017


#1303: Browse Happy API detection bugs
--------------------------+---------------------
 Reporter:  nacin         |       Owner:
     Type:  defect        |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Browse Happy  |  Resolution:  fixed
 Keywords:  needs-patch   |
--------------------------+---------------------
Changes (by coffee2code):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Fixed over a long series of commits outlined below (yes, in hindsight, I
 should have referenced this ticket in the commits as a tracking ticket).
 Any further suggestions should be opened in new tickets.

 * New non-mobile browser detection:
   * Add detection for Microsoft Edge [5974]
   * Add detection for UC Browser [5991]
   * Add detection for QQ Browser [5995]
   * Add detection for Pale Moon [6012]
   * Add detection for Vivaldi [6019]
   * Add support for FreeBSD, OpenBSD, and SunOS as platforms and Konqueror
 as a browser [6017]
   * Add detection for SeaMonkey [6018]
   * Add detection for Puffin [6020]
   * Add detection for Chromium [6021]
 * IE:
   * Set latest version as 11 and mark versions older than 11 as insecure
 [5949]
   * Report version number for IE 11 as '11.0' instead of '11' for
 consistency [5985]
   * Check for Trident token at a higher priority than MSIE when
 determining the version of IE [5986]
 * Opera:
   * Improve detection and recognize modern Opera user-agents [5963]
 * Safari:
   * Bump current version of Safari to 11 and mark versions earlier than 10
 as insecure [5975]
 * Firefox:
   * Bump current version of Firefox to 56 and mark versions earlier than
 52 (latest Extended Support Release) as insecure. [5976]
 * Chrome:
   * Fix Chrome user-agent parsing when an explicit 'Version/' value is
 defined, which in this case shouldn't be used. [5967]
 * Mobile browser handling:
   * Add data attribute 'mobile' to indicate if a given parsed user-agent
 is mobile. Generic mobile platform is set as "Mobile". [5962]
   * Replace hack to more clearly handle not making alerts for mobile
 browsers [5951]
   * Fix attribution of platform as Android instead of Linux [5952]
   * Improve Windows Phone OS recognition, particularly for more modern
 Microsoft browsers [5971]
   * Rename "Kindle" to "Kindle Browser" and remove Kindle hack [5984]
   * Improve identification of BlackBerry, Nokia, and Sony Ericsson devices
 generically as mobile devices if platform not otherwise known [5988]
   * Add detection for Amazon Silk as a browser and Fire OS as a platform
 [5984]
   * Add detection for Opera Mini [5963]
   * Add detection for Android Browser. Fixes some existing misattributed
 unit test cases. [5977]
   * Add detection for Nokia Browser [5979]
   * Add detection for BlackBerry Browser [5989]
   * Add detection for Samsung Browser [5994]
   * Add detection for Symbian as a platform and Ovi Browser as a browser
 [6011]
 * Unit testing:
   * Convert crude unit tests to PHPUnit [5948]
   * Add unit test for 'insecure' flag [5949], [5968]
   * Add unit test for the 'upgrade' parsed data field [5970]
   * Group unit test data by browser type and order them alphanumerically
 by browser, then platform, then version. [5965]
   * Add more unit test data [5954], [5966], [5981]
 * Browser logo images improvements:
   * Update logo images to current versions of each [13407-dotorg]
   * Use CDN to serve images. [5947]
 * Code formatting/docs:
   * Whitespace improvements [5934]
   * Add missing DocBlocks and improve existing ones [5935]
   * Add inline documentation for regexes [6038]
 * Misc
   * Use HTTPS for links to browser sites [5936]
   * Remove unused 'normalized' data attribute for recognized browsers
 [5978]
   * Improve handling of unknown browsers [5980]
   * Improve parsing [6010]
   * Refactor [6037]
   * Remove unnecessary starting sub-pattern for platform regex [6039]

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1303#comment:9>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list