Last active
September 8, 2015 23:55
-
-
Save calvinmetcalf/f29eae737d52ae8fd54a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<meta charSet="utf-8" /> | |
<title>title</title> | |
<meta name="viewport" content="width=device-width, user-scalable=no" /> | |
</head> | |
<body> | |
</body> | |
<script> | |
var called = false; | |
setTimeout(function (){ | |
console.log('should be true', called); | |
}); | |
console.log('opening'); | |
window.open('http://example.com/some/url', 'title', 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=100, height=200, top=20, left=20'); | |
console.log('opened'); | |
called = true; | |
</script> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment