[Webkit-unassigned] [Bug 154407] Web Inspector: We should have a way to capture heap snapshots programatically.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 20:42:03 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=154407

Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #274364|                            |review?
              Flags|                            |

--- Comment #4 from Joseph Pecoraro <joepeck at webkit.org> ---
Created attachment 274364
  --> https://bugs.webkit.org/attachment.cgi?id=274364&action=review
[PATCH] Proposed Fix

This adds console.takeHeapSnapshot. It will only work if:

1. The inspector is open
2. The inspector's Timeline tab has the Heap Allocations timeline (currently this is always)
NOTE: You do not need to be recording.

We may want to provide an alternative, like a Console Message that you can click on to show the snapshot Content View.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160318/06f87f4e/attachment.html>


More information about the webkit-unassigned mailing list