#681 bug
Nick Stakenburg

IE8 chokes on object and embed

Reported by Nick Stakenburg | May 17th, 2009 @ 12:09 AM

After testing 1.6.1_rc2 on a number of pages that use a bit event delegation IE8 started throwing errors when hovering flash movies.

To replicate add this to a page with some flash.

document.observe("dom:loaded", function() {
  $$("object, embed");
  document.observe('mouseover', function(event) {
    var element = event.findElement('div');
  });
});

Getting _countedByPrototype of an object after calling $$('object, embed') seems to throw an error, calling $(embed).ancestors() will do the same thing.

This page shows both of these problems, just move your mouse over the flash movies: http://nickstakenburg.com/tests/ie8bugs/

Comments and changes to this ticket

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

Referenced by

Pages