#157 new
gleneivey

problem with onload event for content of an iframe

Reported by gleneivey | April 16th, 2010 @ 12:18 PM

This is reproduced by the test specs/frame in thatcher/env-js/tree/frame-scope as of fa042d516cf1c26bafcd2e10ac61b6295d2d70e1.

The QUnit tests loaded into each IFrame in specs/frame/index.html do not execute because the event handler that QUnit attaches to the load event does not get called. I've investigated enough to be confident that the test() calls within all of the specs/???/spec.js files loaded in their respective IFrames, and that the code in QUnit makes it to the point of calling addEvent(window, "load", function() {.... I have not determined whether the problem has to do with attaching the handler to the window object contained the the IFrame, or if the handler gets attached correctly but the parser changes since v1.1 simply cause it not to be called any more.

No comments found

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 ยป

a javascript browser environment

People watching this ticket

Pages