You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
j-ulrich
added a commit
to j-ulrich/qunit
that referenced
this issue
Sep 18, 2012
Running multiple test files using composite raises a "global failure" in Opera (I am using Opera version 12.02 on Windows):
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, thesrc
attribute is still empty, hence, noQUnit
object exists in the iframe's window object. Theload
event is then fired again when thesrc
attribute has been changed and the test file was loaded.The text was updated successfully, but these errors were encountered: