Summary: | Web Inspector: timeline recording started from console.profile(name) does not use suggested name | ||
---|---|---|---|
Product: | WebKit | Reporter: | Brian Burg <burg> |
Component: | Web Inspector | Assignee: | Matt Baker <mattbaker> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | graouts, irae, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | 528+ (Nightly build) | ||
Hardware: | All | ||
OS: | All |
Description
Brian Burg
2014-12-16 00:32:23 PST
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 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. |