In an application I wrote I have a call to up(), as in:

test = elt.up('li');

elt is anything that will be contained within a li element, if this is
true, I create a rollover item for that li element.

At any rate, accoring to Firebug this call propagates through
Prototype via:

The problem is the call to findElements() (prototype.js line 2831)

In this function simply uses xpath and:
return document._getElementsByXPath(this.xpath, root);

in however, a switch statement is used because of the new
selectorAPI, which if  selectorsAPI == true, attempts:

Line 2845: results = $A(root.querySelectorAll(e)).map(Element.extend);

The trouble is in Chrome and Safari this happens:

Uncaught Error: SYNTAX_ERR: DOM Exception 12 
(line 2845)

I did some digging and found this:

Which only relates to the DOM Exception, not to my app. However, I
cannot find anything else on this.

Any ideas?

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to