RESOLVED WORKSFORME 139675
Web Inspector: timeline recording started from console.profile(name) does not use suggested name
https://bugs.webkit.org/show_bug.cgi?id=139675
Summary Web Inspector: timeline recording started from console.profile(name) does not...
Brian Burg
Reported 2014-12-16 00:32:23 PST
It used to, I think...
Attachments
Radar WebKit Bug Importer
Comment 1 2014-12-17 11:23:53 PST
Iraê
Comment 2 2015-09-01 16:28:55 PDT
This issue is on an interesting state. It will start recording profiles and stop, it will show the name of the profile, but you cannot record multiple profiles and compare between them. The current state (Safari 9 beta on El Captain) is only working as a trigger to the "timelines" tab start and stop button. I did not had a chance to try putting this in the middle of the code and trying in the middle of a page load process, but would be interesting to find out all implications. This API is still useful and works well on other browsers, although MDN says it's non-standard. https://developer.mozilla.org/en-US/docs/Web/API/Console/profileEnd
Timothy Hatcher
Comment 3 2015-09-01 18:15:04 PDT
If it is showing the name, then this isn't a bug anymore. The other issues you mention should be filed as separate bugs. Yes, console.profile will work in the middle of code and do a full Timeline recording for that section of code.
Note You need to log in before you can comment on or make changes to this bug.