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

crossbrowser failure in test - Iframe onload not triggered on some platforms #6

Open
kumavis opened this issue Sep 6, 2014 · 1 comment

Comments

@kumavis
Copy link
Contributor

kumavis commented Sep 6, 2014

Note this should only be a problem for the tests, not the lib itself
https://ci.testling.com/npm-dom/iframe

iexplore/10.0
open  debug in browserling  close
TAP version 13
# it adds an iframe to the document by default
ok 1 no frames
ok 2 one frame
# it removes the iframe from the document
ok 3 no frames
ok 4 one frame
ok 5 no frames
# it renders the iframe contents as html, not plaintext
ok 6 no frames
ok 7 one frame

The iframe's load event seems to not be triggered on some platforms

@kumavis
Copy link
Contributor Author

kumavis commented Sep 6, 2014

The contentDocument is replaced entirely when the blob is loaded, so adding events on it on iframe creation do not fire.

The correct event for IE may be readystatedidchange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant