[Prototype-core] Re: Strange exception in FF with $$()

2007-07-24 Thread Mislav Marohnić
On 7/24/07, Michael Peters <[EMAIL PROTECTED]> wrote:
>
>
> I was loading an older version of rico ...


Eh, if I had a penny every time someone did that and then complained to us
... Paris Hilton would probably break out of jail to come to my parties :)

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[Prototype-core] Re: Strange exception in FF with $$()

2007-07-24 Thread Tobie Langel

>  (btw, what's up with all those numbers in the
> release? was something wrong with just doing a 1.5.2 :)

1.5.1.1 is just a bug-fix release for 1.5.1. No new features included,
hence the 1.5.1.1 rather than 1.5.2.

Regards,

Tobie


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[Prototype-core] Re: Strange exception in FF with $$()

2007-07-24 Thread Michael Peters

Mislav Marohnić wrote:

> Probably. Read the source of the $() method to see that is shouldn't
> bomb on $(document) - it does not care for it, it just returns it as-is
> (seeing that is is an object).

 I found it. I was loading an older version of rico that was doing nasty things
 with Element.extend. Thanks.

-- 
Michael Peters
Developer
Plus Three, LP


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[Prototype-core] Re: Strange exception in FF with $$()

2007-07-24 Thread Andrew Dupont

To clarify: I'm not suggesting that XML mode is a *bug* (at least not
in a diplomatic setting) -- if this were the source of the error, the
bug would be Prototype's -- just that we do no formal testing for XML
mode, so I wouldn't be surprised if this were the cause.


On Jul 24, 12:47 pm, Andrew Dupont <[EMAIL PROTECTED]> wrote:
> Are you in strict XML mode (XHTML served as application/xhtml+xml)?
> That's the first thing that popped into my head; it may or may not be
> relevant.
>
> Andrew
>
> On Jul 24, 12:26 pm, Michael Peters <[EMAIL PROTECTED]> wrote:
>
> > I'm just trying a simple use of $$()
>
> >   $$('#top_nav a.dropdownmenu);
>
> > which I'm sure I've used in other places, but I keep getting the following 
> > fatal
> > exception in FF (2.0.0.4)
>
> > uncaught exception: [Exception... "Component returned failure code: 
> > 0x80004001
> > (NS_ERROR_NOT_IMPLEMENTED) [nsIDOM3Document.domConfig]" nsresult: 
> > "0x80004001
> > (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame 
> > ::http://smolder.test/js/prototype.js::anonymous :: line 46" data: no]
>
> > It happens with 1.5.1 and 1.5.1.1 (btw, what's up with all those numbers in 
> > the
> > release? was something wrong with just doing a 1.5.2 :)
>
> > I've traced it down to document._getElementsByXPath and this:
>
> >   $(parentElement)
>
> > In this case parentElement is the document object. So caling $() on the 
> > document
> > causes this exception.
>
> > In fact, I can put $(document) anywhere in my code and will die with this 
> > same
> > exception.
>
> > Am I doing something horribly wrong? I didn't see anything in Trac and I 
> > haven't
> > seen this before, but for some reason nothing I do can get past this.
>
> > --
> > Michael Peters
> > Developer
> > Plus Three, LP


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[Prototype-core] Re: Strange exception in FF with $$()

2007-07-24 Thread Andrew Dupont

Are you in strict XML mode (XHTML served as application/xhtml+xml)?
That's the first thing that popped into my head; it may or may not be
relevant.

Andrew

On Jul 24, 12:26 pm, Michael Peters <[EMAIL PROTECTED]> wrote:
> I'm just trying a simple use of $$()
>
>   $$('#top_nav a.dropdownmenu);
>
> which I'm sure I've used in other places, but I keep getting the following 
> fatal
> exception in FF (2.0.0.4)
>
> uncaught exception: [Exception... "Component returned failure code: 0x80004001
> (NS_ERROR_NOT_IMPLEMENTED) [nsIDOM3Document.domConfig]" nsresult: "0x80004001
> (NS_ERROR_NOT_IMPLEMENTED)" location: "JS frame 
> ::http://smolder.test/js/prototype.js:: anonymous :: line 46" data: no]
>
> It happens with 1.5.1 and 1.5.1.1 (btw, what's up with all those numbers in 
> the
> release? was something wrong with just doing a 1.5.2 :)
>
> I've traced it down to document._getElementsByXPath and this:
>
>   $(parentElement)
>
> In this case parentElement is the document object. So caling $() on the 
> document
> causes this exception.
>
> In fact, I can put $(document) anywhere in my code and will die with this same
> exception.
>
> Am I doing something horribly wrong? I didn't see anything in Trac and I 
> haven't
> seen this before, but for some reason nothing I do can get past this.
>
> --
> Michael Peters
> Developer
> Plus Three, LP


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---



[Prototype-core] Re: Strange exception in FF with $$()

2007-07-24 Thread Mislav Marohnić
On 7/24/07, Michael Peters <[EMAIL PROTECTED]> wrote:
>
>
> Am I doing something horribly wrong?


Probably. Read the source of the $() method to see that is shouldn't bomb on
$(document) - it does not care for it, it just returns it as-is (seeing that
is is an object).

Can you make a minimal HTML document that uses the Prototype framework and
bombs out in the way you're describing? Then we can have a look at it.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Prototype: Core" group.
To post to this group, send email to prototype-core@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-core?hl=en
-~--~~~~--~~--~--~---