montagejs/montage-testing — pull request #11 by aadsm (2013-12-12 03:36:02+00:00)
Title: Fix createJavaScriptContext() document property

In Safari the contentWindow's document property is gone when we remove the iframe from the document.
To fix this we just clone the contentWindow and assign the document back.