NEW 158712
Web Inspector: Timeline Dead time timeout not behaving as expected
https://bugs.webkit.org/show_bug.cgi?id=158712
Summary Web Inspector: Timeline Dead time timeout not behaving as expected
Joseph Pecoraro
Reported 2016-06-13 16:52:48 PDT
Summary: Timeline Dead time timeout not behaving as expected. On very short page loads that continue to run JavaScript after unload, the auto-recording stops after 2 seconds instead of an expected longer time. Test: <body>Test <script> window.onload = function() { setInterval(function() { console.log("Tickle"), }, 1000); } </script> Steps To Reproduce: 1. Inspect test page 2. Show Timeline Tab 3. Reload => Expected recording to last more than 2 seconds Notes: 1. The TimelineManager _addRecord tickle is not happening because its condition is wrong. 2. The TimelineManager _addRecord should bail if the auto capturing main resource is not set. 3. There may be other remaining issues.
Attachments
[PATCH] Work in Progress (1.04 KB, application/octet-stream)
2016-06-13 16:56 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2016-06-13 16:55:45 PDT
Joseph Pecoraro
Comment 2 2016-06-13 16:56:05 PDT
Created attachment 281216 [details] [PATCH] Work in Progress I don't think this is a complete patch. I was going to hand this off to Brian.
Note You need to log in before you can comment on or make changes to this bug.