We got the above error in an HTML Web Resource which was using jqGrid. The page was working fine in IE 10 browser only in IE 8 we got that error.
The solution was to use the following meta tag inside the HEAD tag of the html page.
More details on this meta tag
Hope it helps.