Opened 4 years ago

Last modified 4 years ago

#1620 new defect

Issue with Xinha Initialization in IE 11.0

Reported by: guest Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

Due to the very different User Agent String provided by IE Xinha initialization
fails at

Line 198 of XinhaCore?.js

Xinha.is_ff2 = false ; Xinha.is_real_gecko && parseInt(navigator.productSub.substr(0,10), 10) < 20071210;

In IE 11 it will reach this line and then fail with unable to get property substr of productSub, which then causes the rest of the Xihna
initialization to fail. I guess the fix is to text for the presence of navigator.productSub before attempting to invoke it..

Change History (2)

comment:1 Changed 4 years ago by guest

I can be contacted at mark.drake@… or mark.drake@…

comment:2 Changed 4 years ago by guest

Quick and Dirty Workaround..

Xinha.is_ff2 = false ;
try {

Quick Hack to allow initialization to succeed in IE 11.0.
Xinha.is_ff2 = Xinha.is_real_gecko && parseInt(navigator.productSub.substr(0,10), 10) < 20071210;

}
catch (e) {}

Note: See TracTickets for help on using tickets.