Web Inspector: Do not send RenderingFrame TimelineRecords that have no children
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Oct 2015 21:44:27 +0000 (21:44 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 27 Oct 2015 21:44:27 +0000 (21:44 +0000)
commit1f49a1d3c5a05cade026e96891a9f01afb9edccd
treefdf0dd58f1fd5cebbff0cd9706643bc2a6f272ad
parent6baf5bd3ac479ebd160e57dbf8c29b15eeb4a7ff
Web Inspector: Do not send RenderingFrame TimelineRecords that have no children
https://bugs.webkit.org/show_bug.cgi?id=150600

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2015-10-27
Reviewed by Timothy Hatcher.

* inspector/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::didCompleteCurrentRecord):
The frontend already filters out empty RenderingFrame records
(in TimelineManager.prototype._processRecord). Filter them out
on the backend to reduce protocol traffic / noise.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorTimelineAgent.cpp