PresentationReceiver_unreached_receiving-ua.html (811B)
1 <!DOCTYPE html> 2 3 <meta charset="utf-8"> 4 <title>Creating a receiving browsing context</title> 5 <link rel="author" title="Tomoyuki Shimizu" href="https://github.com/tomoyukilabs/"> 6 <link rel="help" href="https://w3c.github.io/presentation-api/#creating-a-receiving-browsing-context"> 7 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharnessreport.js"></script> 9 <script src="../common.js"></script> 10 <script src="stash.js"></script> 11 <script> 12 add_completion_callback((tests, status) => { 13 const stash = new Stash(stashIds.toReceiver, stashIds.toController); 14 const log = document.getElementById('log'); 15 stash.send(JSON.stringify({ test: tests[0], status: status, log: log.innerHTML })); 16 }); 17 18 test(() => { 19 assert_unreached('Top-level navigation is disabled.'); 20 }); 21 </script>