WebPagetest Forums
Javascript execution preventing page load events from executing - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Javascript execution preventing page load events from executing (/showthread.php?tid=15422)



Javascript execution preventing page load events from executing - calumbrodie - 06-28-2018 09:48 PM

Hi,

We are seeing a particular script that often stops the 'page load' event from firing successfully, even though the page appears to be loaded fully. This is throwing out all of our testing metrics.

https://wpt1.speedcurve.com/details.php?test=180627_56_ffe164feb3587437372496e400788839&run=1#waterfall_view_step1

The script in question is 'https://ws.sessioncam.com' (very bottom of the waterfall) which is making ajax requests to a third party in order to track user activity on site.

I suspect something in the nature of this script (98th loaded in the waterfall) stops the load event happening (maybe a loop that never stops running or similar).

Can we do anything about this?