loading.https.html (756B)
1 <!DOCTYPE html> 2 <title>Fenced frames loading tests</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <script src="resources/utils.js"></script> 6 <script src="/common/utils.js"></script> 7 8 <body> 9 <script> 10 for (const resolve_to_config of [true, false]) { 11 promise_test(async (t) => { 12 const key = token(); 13 14 attachFencedFrame(await runSelectURL("resources/embeddee.html", [key], 15 resolve_to_config)); 16 const result = await nextValueFromServer(key); 17 18 assert_equals(result, "PASS", 19 "The fenced frame with src=urn:uuid should load"); 20 }, "fenced frame loading " + 21 (resolve_to_config ? "a config." : "an urn:uuid.")); 22 } 23 </script> 24 </body> 25 26 </html>