Bug 8534
Summary: | www.inm.dk will not finish loading | ||
---|---|---|---|
Product: | WebKit | Reporter: | Morten Norby Larsen <morten.larsen> |
Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | ||
Priority: | P1 | ||
Version: | 420+ | ||
Hardware: | Mac | ||
OS: | OS X 10.4 | ||
URL: | http://www.inm.dk/Index/mainstart.asp?o=1&n=3&s=4 |
Morten Norby Larsen
Loading of hte page stops, and the beach ball starts spinning, around half-way though, judging from the progress bar in the address bar.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Alexey Proskuryakov
The problem here seems to be the same as with digg.com (the page uses addEventListener incorrectly, relying on an old Firefox bug). However, it can be fixed independently, by implementing WinIE attachEvent (bug 6598).
We already have bugs filed for both issues, so closing as a duplicate.
if (window.attachEvent){
window.attachEvent( 'onload', nmtrack );
} else if (window.addEventListener) {
window.addEventListener('load', nmtrack, false);
} else {
var oldonload = window.onload;
if (typeof oldonload != 'function') {
window.onload = nmtrack;
} else {
window.onload=function(){nmtrack();oldonload();}
}
}
*** This bug has been marked as a duplicate of 7657 ***