mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 15:28:39 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
21
docshell/test/bug570341_recordevents.html
Normal file
21
docshell/test/bug570341_recordevents.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue