window-reuse-unsandboxed.html (503B)
1 <!DOCTYPE html> 2 <html> 3 4 <head> 5 <script src="/resources/testharness.js"></script> 6 <script src="/resources/testharnessreport.js"></script> 7 </head> 8 9 <body> 10 <script> 11 var t = async_test("Window object should be reused"); 12 13 window.onmessage = t.step_func_done(function(e) { 14 assert_equals(e.data, "test"); 15 }); 16 17 w = window.open("support/unsandboxed-post-property-to-opener.html","","width=400,height=400"); 18 w.testProperty = "test"; 19 </script> 20 </body> 21 22 </html>