IE11triggers Netscape runtime selection due to false UA string

Bug #1249946 reported by Werner Thie
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nevow
New
Undecided
Unassigned

Bug Description

IE11 identifies itself as

'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko'

which leads subsequently to the wrong assumption of the DivMod UA detection code, that the browser runtime should be set to Firefox with XPath capabilities being present. The error manifests itself by IE11 stating, that XPathResult is undefined.

A possible fix is expanding the test for IE to test for 'Netscape' and no XPathNamespace defined, while the actual 'Netscape' type browser Firefox would then have XPathNamespace defined.

For an explanation of the UA strings used by IE11, please see:
http://blogs.msdn.com/b/ieinternals/archive/2013/09/21/internet-explorer-11-user-agent-string-ua-string-sniffing-compatibility-with-gecko-webkit.aspx

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.