Bug 139675 - Web Inspector: timeline recording started from console.profile(name) does not use suggested name
Summary: Web Inspector: timeline recording started from console.profile(name) does not...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Matt Baker
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-12-16 00:32 PST by Brian Burg
Modified: 2015-09-01 18:15 PDT (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Burg 2014-12-16 00:32:23 PST
It used to, I think...
Comment 1 Radar WebKit Bug Importer 2014-12-17 11:23:53 PST
<rdar://problem/19281556>
Comment 2 Iraê 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
Comment 3 Timothy Hatcher 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.