Project

General

Profile

Script errors in IE

Added by B Sorensen almost 13 years ago

Hi,

I'm often seeing script errors in IE (tested on 8 and 9), when connected to a Linux based Wt app. I don't recall having seen them on other browsers.

The details given in IE are inserted below. If I start the script debugger in IE, I just end up with what is shown in attached screenshot, which makes little sense to me.

Any hints on what is going on, and how to remedy?

IE debug details:

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)

Timestamp: Fri, 10 Jun 2011 06:25:34 UTC

Message: 'styleSheet' is null or not an object

Line: 168

Char: 64

Code: 0

URI: http://10.250.6.71/?wtd=KyJEEQHCon6C1PfG&scale=1.0416666666666667&request=script&rand=2910546154

Message: Could not complete the operation due to error 80020101.

Line: 192

Char: 53

Code: 0

URI: http://10.250.6.71/?wtd=KyJEEQHCon6C1PfG&scale=1.0416666666666667&request=script&rand=2910546154

script_debug.png (200 KB) script_debug.png Script debugger

Replies (3)

RE: Script errors in IE - Added by B Sorensen almost 13 years ago

Hi,

I performed the previous test on the 3.1.9 release, but after testing with the latest git, I haven't seen the problem again so far.

Judging from the Changelog, some scripting fixes has been included for IE, so I'm hoping the problem is fixed with the coming 3.1.10 release.

RE: Script errors in IE - Added by Koen Deforche almost 13 years ago

Hey,

Indeed both errors are familiar to me and we've fixed them, to my knowledge.

But it is hard to know whether the fixes (which are really workarounds around bugs in IE) are general since there is poor documentation on the bugs in IE :-) Thus, it is good to be vigilant and I'ld appreciate if you let me know if any issues occur with latest git.

koen

RE: Script errors in IE - Added by B Sorensen almost 13 years ago

Hi,

Been testing a bit, and now seeing another error on latest git.

It happens in IE when I press F5 to refresh a page, and it gives an "Object Expected" error. I tried the script debugger, and copied the output to the attached file. Line 231 is where it stops with "Object expected" error:

new Wt3_1_10.WTreeView(Wt,$('#ocvteyv').get(0),$('#ocvtezh').get(0),$('#ocvtezg').get(0),0);

    (1-3/3)