qunit-composite icon indicating copy to clipboard operation
qunit-composite copied to clipboard

Iframe is undefined when QUnit.asyncTest() is invoked

Open bobkhoda opened this issue 9 years ago • 3 comments

image

This issue occurs intermittently and causes the test suite to fail.

A fix was found by checking the iframe and calling initIframe() if the iframe is undefined. A pull request with the changes will be submitted.

bobkhoda avatar Jul 15 '16 18:07 bobkhoda

I can't really see how that's possible, unfortunately, and you haven't provided any real info here.

  • [ ] What are the steps to reproduce this? Can you provide me with a JSFiddle/JSBin/CodePen/repo/etc. that can reproduce this?
  • [ ] What version of QUnit core are you using?
  • [ ] What browsers (and versions) does this occur in?

JamesMGreene avatar Oct 02 '16 00:10 JamesMGreene

I have the same problem with qunit-composite 1.01-1.2.2, QUnit 1.12.0, and recent versions of Firefox on OS X (52.0.2, for example). The fix @bobkhoda suggested resolves these.

I am attempting to reproduce this in isolation using a branch of the qunit-composite repo and its tests.

the-t-in-rtf avatar Apr 03 '17 12:04 the-t-in-rtf

I've been trying things with the qunit-composite tests themselves. I can't even get close to QUnit 1.12.0, Firefox 52.0.2 hangs unrecoverably with anything less than 1.15.0. I will use the workaround for now and report here if I can figure a way to reproduce this locally.

the-t-in-rtf avatar Apr 03 '17 13:04 the-t-in-rtf