[Webkit-unassigned] [Bug 202933] Web Inspector: Add copy object as JSON
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Oct 14 10:45:01 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=202933
Devin Rousso <drousso at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |drousso at apple.com
--- Comment #1 from Devin Rousso <drousso at apple.com> ---
For what it's worth, you can do this via the `copy()` function that's available when evaluating from the Web Inspector Console.
Assuming your object is JSON serializable, you can `copy(object)` and a stringified (and somewhat prettified) version will be put into the system pasteboard.
If you don't have a reference to the object, you can right click on any log/result line and select "Log Value" to get a $1, $2, ... $99 reference to it.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191014/813c5961/attachment.html>
More information about the webkit-unassigned
mailing list