#743 ✓works_for_me
seb (at mapeed)

Issue with IE8 on extending window.Event

Reported by seb (at mapeed) | July 27th, 2009 @ 07:02 PM

I just try latest version on IE8 and got an error when I include prototype.
In fact it's not prototype fault but IE8!

Just do
window.Event.foo = function(){}

and it raises an error.
May be it comes from IE8 settings, I have no idea and do not know how to fix that.

I have added a sample HTML file that

Comments and changes to this ticket

  • Samuel Lebeau

    Samuel Lebeau August 28th, 2009 @ 03:07 AM

    • Assigned user set to “Samuel Lebeau”

    I'm running IE 8.0.6001.18702 on XP SP2 and tests run fine with some minor errors (latest master branch).
    Could you tell us precisely which version of IE8 you're getting trouble with?

    BTW, my IE8 won't open attached file complaining about bad DTD, did you intend to add an XML preamble ?

  • Diego Perini

    Diego Perini August 30th, 2009 @ 08:48 PM

    Samuel,
    it works for me too, IE8 same version of your.

    window.Event.foo = function(){}
    

    does not produce any error on IE8 and the extended property/method is available.

    -- Diego

  • Samuel Lebeau

    Samuel Lebeau August 30th, 2009 @ 09:55 PM

    • State changed from “new” to “works_for_me”

    Thanks Diego.

    Seb, if you're still experiencing the issue could you tell us what's the exception message exactly ?

  • seb (at mapeed)

    seb (at mapeed) August 30th, 2009 @ 10:51 PM

    looks like I had a old beta IE8 installed on my virtual machine, with the same IE8 (8.0.6001.18702 on XP SP2) it works.
    Thanks

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Prototype JavaScript library.

Shared Ticket Bins

Attachments

Referenced by

Pages