fence-api-inner.https.html (649B)
1 <!DOCTYPE html> 2 <script src="/resources/testharness.js"></script> 3 <script src="utils.js"></script> 4 <title>Fenced frame content to test window.fence object</title> 5 6 <body> 7 <script> 8 9 // Get the token for communication with the parent. 10 const [fence_api_token] = parseKeylist(); 11 12 // Check that window.fence is visible inside fenced frames. 13 assert_true(window.fence != null, 14 "window.fence should be visible inside fenced frames"); 15 assert_true(fence != null, 16 "fence should be visible inside fenced frames"); 17 18 // Tell the parent that the test succeeded. 19 writeValueToServer(fence_api_token, ""); 20 21 </script> 22 </body>