Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOM problem with Konqueror

1 view
Skip to first unread message

Gregor Kofler

unread,
May 16, 2008, 9:21:59 AM5/16/08
to
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
http://web.gregorkofler.com

Gregor

--
http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
http://web.gregorkofler.com ::: meine JS-Spielwiese
http://www.image2d.com ::: Bildagentur für den alpinen Raum

Bjoern Hoehrmann

unread,
May 16, 2008, 9:45:39 AM5/16/08
to
* 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

http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMException-NOT_FOUND_ERR

>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:bjo...@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/

Gregor Kofler

unread,
May 16, 2008, 9:56:46 AM5/16/08
to
Bjoern Hoehrmann meinte:

> * 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
>
> http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMException-NOT_FOUND_ERR

And DOM Exception 8 _is_ NOT_FOUND_ERR?

>> 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 Kofler

unread,
May 16, 2008, 9:57:42 AM5/16/08
to
Gregor Kofler meinte:

> And DOM Exception 8 _is_ NOT_FOUND_ERR?

Ooops. I scrolled up - yes, it is.

0 new messages