Explorar o código

Add an 'experimental' flag

Gaël Métais %!s(int64=11) %!d(string=hai) anos
pai
achega
3e8d2e25aa
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      phantomas_custom/modules/windowPerfYLT/windowPerfYLT.js

+ 4 - 1
phantomas_custom/modules/windowPerfYLT/windowPerfYLT.js

@@ -62,7 +62,10 @@ exports.module = function(phantomas) {
                         phantomas.log('Performance timing: document reached "DOMContentLoadedEnd" state after %d ms', time);
 
                         phantomas.pushContext({
-                            type: 'domContentLoadedEnd'
+                            type: 'domContentLoadedEnd',
+                            callDetails: {
+                                arguments: ['(experimental, not reliable)']
+                            }
                         });
                     }, 0);