[Javascript] Serious Internet Explorer bug.

Hakan M. hakan at backbase.com
Thu Dec 11 09:30:04 CST 2003


Hello,

I'm encountering heavy problems with this bug:

http://support.microsoft.com/default.aspx?scid=kb;en-us;269802

It took me a while to figure out that it was this bug in the first place 
because of it's absolute RANDOMNESS.
After close inspection of some test machines we found that if the cache 
is set to 'Every visit to page' the bug almost always happend. And when 
set to 'Automatically' it rarely happend. Furthermore, the actual 
setting of the cache SIZE obviously also made a LOT of difference. When 
the cache was set to some small (5MB) size, the bug was popping up 
constantly.

Why is this bug happening anyway? This quote from the MS-site is not 
very helpfull:

"As described earlier, this may demonstrate the problem described in 
this article, depending on the timing of other portions of the Web 
application."

The timing of what? What should or should not be done during what?

ps. We could not get the bug-example on 269802 to actually cause the bug.


In theory we have total control over the webapplication. So we can time 
everything. But things like waiting to load each image until the 
previous image finished loading seems like an overkill, Especially when 
running other testcases of loading 1500+ unique images at once and not 
having any problems at all!


Further info:
Platform: WindowsXP / IE6.0
We use the Microsoft.XMLHTTP object to get data.
We use normal IMG tags
We use background images(through inline styles and classes)
We use gif and jpg images (jpg are saved for web so they do not have the 
XML Bug that also causes craches)

We observed the reloading of bg-images when:

<div onmouseover="this.className='class1';" 
onmouseout="this.className='class2';">
    text
    <div style="background-image:url(test.gif);">text</div>
    text
</div>

(just a nice oddity by itself)




So does anybody have an idea what this 'Timing' could be and/or its 
relation to cache? In other words: When or Why does this happen?

Thnx,

Gerbert Kaandorp through Hakan




More information about the Javascript mailing list