| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script src="resources/javascriptURL-execution-context.js"></script> | |
| <script> | |
| function setter(frame, url) { | |
| frame.setAttribute('src', url); | |
| } | |
| </script> | |
| </head> | |
| <body> | |
| <p>This test passes as long as the word 'FAIL' and an accompanying message do not appear in the subframe.</p> | |
| <pre id='console'></pre> | |
| <iframe id='aFrame' name='aFrame' src='http://localhost:8000/security/resources/cross-frame-iframe.html'></iframe> | |
| </body> | |
| </html> |