Fix firefox iframe timing issue in test runners, fixes #25 #43
Reference in New Issue
Block a user
No description provided.
Delete Branch "iframe_firefox_fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
All browsers except chrome have timing issues when dynamically creating and injecting content inside an iframe, see blog post if you're interested in why. Boils down to waiting for the
readyState
to becomplete
before appending to the DOM.All tests pass in Firefox except 2, not sure how to fix these so any help would be good.
I also changed the use of
innerText
totextContent
as Firefox refused to render the CSS string and in Chrome it added a bunch of<br>
tags and somehow the CSS parser is forgiving enough to still work!Thanks! I couldn't figure out a reliable way to avoid the timing issues :)