cookieStore_set_domain_parsing.sub.https.html (856B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 </head> 7 <body> 8 <script> 9 promise_test(async () => { 10 const childUrl = new URL("resources/domain_parsing-child.sub.https.html?test=IDNA", document.location); 11 childUrl.host = "{{hosts[][élève]}}"; 12 const childWindow = window.open(childUrl.href); 13 await fetch_tests_from_window(childWindow); 14 }, "cookieStore.set with domain on IDNA host"); 15 16 promise_test(async () => { 17 const childUrl = new URL("resources/domain_parsing-child.sub.https.html?test=uppercase", document.location); 18 const childWindow = window.open(childUrl.href); 19 await fetch_tests_from_window(childWindow); 20 }, "cookieStore.set with mixed casing domain"); 21 </script> 22 </body> 23 </html>