docshell/test/mochitest/bug570341_recordevents.html
author Byron Campen [:bwc] <docfaraday@gmail.com>
Mon, 29 Apr 2019 15:51:30 +0000
changeset 471964 f8a6a019f873aaebc47740ea1423c0985aaedf69
parent 465755 b338bce4319eb9fc5fcb86ab2c89f1b6992e9050
permissions -rw-r--r--
Bug 1531803 - Part 3: Only set track id on JsepTrack if we're configured to emit track ids in SDP, and simplify some code. r=mjf Differential Revision: https://phabricator.services.mozilla.com/D25796

<html>
<head>
<script>
    var start = Date.now();
    window._testing_js_start = Date.now();
    window["_testing_js_after_" + document.readyState] = start;
    document.addEventListener("DOMContentLoaded",
      function() {
        window._testing_evt_DOMContentLoaded = Date.now();
      }, true);
    document.addEventListener("readystatechange", function() {
      window["_testing_evt_DOM_" + document.readyState] = Date.now();
    }, true);
    function recordLoad() {
      window._testing_evt_load = Date.now();
    }
</script>
</head>
<body onload="recordLoad()">This document collects time
for events related to the page load progress.</body>
</html>