DOM problem with Konqueror

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gregor Kofler

    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.remo veChild(this.la yer.childNodes[this.smartLabel ? 0 : 1]);

    Simplifying it with something like:

    var n = this.layer.chil dNodes[this.smartLabel ? 0 : 1];
    this.layer.remo veChild(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


    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

    #2
    Re: DOM problem with Konqueror

    * Gregor Kofler wrote in comp.lang.javas cript:
    >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.rem oveChild(this.l ayer.childNodes[this.smartLabel ? 0 : 1]);
    Then this may simply be a bug in Konqueror.
    --
    Björn Höhrmann · mailto:bjoern@h oehrmann.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/

    Comment

    • Gregor Kofler

      #3
      Re: DOM problem with Konqueror

      Bjoern Hoehrmann meinte:
      * Gregor Kofler wrote in comp.lang.javas cript:
      >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-Cor...-NOT_FOUND_ERR
      And DOM Exception 8 _is_ NOT_FOUND_ERR?
      >The mentioned line contains:
      >>
      >this.layer.rem oveChild(this.l ayer.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


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

      Comment

      • Gregor Kofler

        #4
        Re: DOM problem with Konqueror

        Gregor Kofler meinte:
        And DOM Exception 8 _is_ NOT_FOUND_ERR?
        Ooops. I scrolled up - yes, it is.

        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

        Comment

        Working...