Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!doctype html>
- <html lang="en">
- <head><title>Testcafe-hammerhead passthrough</title></head>
- <body>
- <script type="text/javascript">
- eval("var callfn = function(arg) { arg.contentWindow.alert('Hello world inside!!!'); }; document.body.innerHTML += \"<iframe src='about:blank' onLoad='callfn(this)'></iframe>\"; ");
- alert('Hello world outside');
- </script>
- Test page
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement