Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composite: Raises "global failure" in Opera #318

Closed
j-ulrich opened this issue Sep 18, 2012 · 0 comments
Closed

Composite: Raises "global failure" in Opera #318

j-ulrich opened this issue Sep 18, 2012 · 0 comments

Comments

@j-ulrich
Copy link
Contributor

Running multiple test files using composite raises a "global failure" in Opera (I am using Opera version 12.02 on Windows):

Uncaught exception: TypeError: Cannot convert 'iframeWin.QUnit' to object
in qunit-composite.js, Line 37

To reproduce, simply run the composite-demo-test.html in Opera.

The problem seems to be that the load event is fired shortly after the iframe is inserted into the DOM but at that time, the src attribute is still empty, hence, no QUnit object exists in the iframe's window object. The load event is then fired again when the src attribute has been changed and the test file was loaded.

j-ulrich added a commit to j-ulrich/qunit that referenced this issue Sep 18, 2012
… - Composite: Raises "global failure" in Opera
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants