|
@@ -69,6 +69,11 @@
|
69
|
69
|
|
70
|
70
|
window.indexLoadedTime = window.performance.now();
|
71
|
71
|
console.log("(TIME) index.html loaded:\t", indexLoadedTime);
|
|
72
|
+ window.addEventListener('load', function() {
|
|
73
|
+ window.loadedEventTime = window.performance.now();
|
|
74
|
+ console.log("(TIME) window loaded event:\t", loadedEventTime);
|
|
75
|
+ });
|
|
76
|
+
|
72
|
77
|
// XXX the code below listeners for errors and displays an error message
|
73
|
78
|
// in the document body when any of the required files fails to load.
|
74
|
79
|
// The intention is to prevent from displaying broken page.
|