summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/signed-exchange/resources/sxg-navigation-timing.html
blob: ddbe3503548ae2915253ad1f0ccc62d4278bf17a (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<title>Navigation timing of SignedHTTPExchange</title>
<script>
window.addEventListener('message', (event) => {
  event.data.port.postMessage({
      location: document.location.href,
      timing: JSON.stringify(performance.getEntriesByType('navigation')[0]),
      is_fallback: false});
}, false);
</script>