blob: 9539c0a3a6165f0c6b1bd5b3197879f0084375f4 [file] [log] [blame]
<html>
<head>
<script>
// this assignment should have no effect on sandbox status
self.sandbox = 'allow-scripts allow-same-origin hacked-via-window-object';
// this should be prevented by the sandbox 'origin' flag
if (top.document)
top.document.getElementById('f').sandbox = 'allow-scripts allow-same-origin hacked-via-dom';
</script>
</head>
</html>