sxg-utf8-inner-url.tentative.html (727B)
1 <!DOCTYPE html> 2 <title>SignedHTTPExchange with UTF-8 inner URL</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <script src="/common/get-host-info.sub.js"></script> 6 <script src="./resources/sxg-util.js"></script> 7 <body> 8 <script> 9 promise_test(async (t) => { 10 const sxgUrl = get_host_info().HTTPS_ORIGIN + '/signed-exchange/resources/sxg/sxg-utf8-inner-url.sxg'; 11 const message = await openSXGInIframeAndWaitForMessage(t, sxgUrl); 12 assert_equals(message.location, new URL(innerURLOrigin() + '/signed-exchange/resources/\uD83C\uDF10\uD83D\uDCE6.html').href); 13 assert_false(message.is_fallback); 14 }, 'SignedHTTPExchange with UTF-8 inner URL'); 15 16 </script> 17 </body>