Web Inspector: Timelines - Export fails for MediaTimelineRecords with originator...
authorpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 21:22:08 +0000 (21:22 +0000)
committerpecoraro@apple.com <pecoraro@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 20 Mar 2019 21:22:08 +0000 (21:22 +0000)
commitcfca1764458de8add8e9cef2ad1e94402b4896da
treeefad6711a7309ace73b2861108443ea69c5607ac
parent9b6a1c36c39b2ee1c557346292d7b37b8e65e711
Web Inspector: Timelines - Export fails for MediaTimelineRecords with originator DOM Node - Cannot serialize cyclic structure
https://bugs.webkit.org/show_bug.cgi?id=196027

Reviewed by Timothy Hatcher.

* UserInterface/Models/MediaTimelineRecord.js:
(WI.MediaTimelineRecord.prototype.toJSON):
Remove the originator since that is a WI.DOMNode and cannot
be JSON serialized.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243238 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Models/MediaTimelineRecord.js