|  | DOM problem with Konqueror |  | |
| | | Gregor Kofler |  |
| Posted: Fri May 16, 2008 11:21 am Post subject: DOM problem with Konqueror |  |
Trying my widgets on Konqueror 3.5.9/Ubuntu 8.04 gives me the following error message:
line 172: Error: DOM Exception 8
The mentioned line contains:
this.layer.removeChild(this.layer.childNodes[this.smartLabel ? 0 : 1]);
Simplifying it with something like:
var n = this.layer.childNodes[this.smartLabel ? 0 : 1]; this.layer.removeChild(n);
yields the same result. alert(n) shows me "object". The widget works in IE6+, FF, Opera, Safari. Other widgets on my page also feature removeChild - alas: no error there. Any suggestions or ideas? Googling for "DOM Exception 8" hasn't provided any meaningful results.
The error can be reproduced by clicking a search-Button on LINK
Gregor
-- LINK ::: Landschafts- und Reisefotografie LINK ::: meine JS-Spielwiese LINK ::: Bildagentur für den alpinen Raum |
| |
| | | Bjoern Hoehrmann |  |
| Posted: Fri May 16, 2008 11:45 am Post subject: Re: DOM problem with Konqueror |  |
* Gregor Kofler wrote in comp.lang.javascript:
| Quote: | Trying my widgets on Konqueror 3.5.9/Ubuntu 8.04 gives me the following error message:
line 172: Error: DOM Exception 8
|
LINK
| Quote: | The mentioned line contains:
this.layer.removeChild(this.layer.childNodes[this.smartLabel ? 0 : 1]);
|
Then this may simply be a bug in Konqueror. -- Björn Höhrmann · mailto:bjoern@hoehrmann.de · LINK Weinh. Str. 22 · Telefon: +49(0)621/4309674 · LINK 68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · LINK |
| |
| | | Gregor Kofler |  |
| Posted: Fri May 16, 2008 11:56 am Post subject: Re: DOM problem with Konqueror |  |
Bjoern Hoehrmann meinte:
| Quote: | * Gregor Kofler wrote in comp.lang.javascript: Trying my widgets on Konqueror 3.5.9/Ubuntu 8.04 gives me the following error message:
line 172: Error: DOM Exception 8
LINK
|
And DOM Exception 8 _is_ NOT_FOUND_ERR?
| Quote: | The mentioned line contains:
this.layer.removeChild(this.layer.childNodes[this.smartLabel ? 0 : 1]);
Then this may simply be a bug in Konqueror.
|
Yes - since it doesn't occur in Konqueror 4.0.3 (is it just my computer, or *is* Konqueror 4 *that* slow?).
Gregor
-- LINK ::: Landschafts- und Reisefotografie LINK ::: meine JS-Spielwiese LINK ::: Bildagentur für den alpinen Raum |
| |
| | | Gregor Kofler |  |
| Posted: Fri May 16, 2008 11:57 am Post subject: Re: DOM problem with Konqueror |  |
Gregor Kofler meinte:
| Quote: | And DOM Exception 8 _is_ NOT_FOUND_ERR?
|
Ooops. I scrolled up - yes, it is.
Gregor
-- LINK ::: Landschafts- und Reisefotografie LINK ::: meine JS-Spielwiese LINK ::: Bildagentur für den alpinen Raum |
| |
|
|