Skip to content

Commit

Permalink
tests for overwriting win.opener and accessing it x-domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Hallvord R. M. Steen committed May 21, 2014
1 parent b118738 commit fa526aa
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -38,7 +38,7 @@
code += 'opener = ' + tests[testidx].value_str;
code += ';\nsetting_throws = false;}catch(e){setting_throws = true;}';
code += '\nsetting_succeeds = opener === '+ tests[testidx].value_str
console.log(code);
//console.log(code);
document.open();
document.write('<script>'+code+'<\/script>');
document.close();
Expand All @@ -54,4 +54,4 @@
setTimeout(function(){self.close()}, 20);
</script>

</body></html>
</body></html>

0 comments on commit fa526aa

Please sign in to comment.