docshell/test/bug570341_recordevents.html
author Dmitry Rozhkov <dmitry.rozhkov@jolla.com>
Sun, 22 Nov 2015 08:57:45 -0500
changeset 307838 b12a19262a28af01c1db5d5e73783b95eb9e9d93
parent 72103 c931c8b1d8f623693c4d630777a63447cd7de417
child 494882 58adc643dcdc20eccb4d30bc454b50420e96c020
permissions -rw-r--r--
Bug 962243 - Implement PINCH to TOUCHING transition in APZC. r=botond

<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>