blob: bd9c066d1a1a70b3491f7d1abbd8a67f8ec0ba2f [file] [log] [blame]
<!DOCTYPE html>
<title>Location of SignedHTTPExchange</title>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="./resources/sxg-util.js"></script>
<body>
<script>
promise_test(async (t) => {
await waitUntilDidFinishLoadForFrame;
const message = await openSXGInIframeAndWaitForMessage(t, 'resources/sxg-location.sxg');
assert_equals(message.location, 'https://127.0.0.1:8443/loading/sxg/resources/inner-url.html');
assert_false(message.is_fallback);
}, 'Location of SignedHTTPExchange');
</script>
</body>