Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5bbe8996939dc7bc4544cf4f675671b19037267c
      
https://github.com/WebKit/WebKit/commit/5bbe8996939dc7bc4544cf4f675671b19037267c
  Author: Vitaly Dyachkov <[email protected]>
  Date:   2026-05-05 (Tue, 05 May 2026)

  Changed paths:
    M Source/WebCore/inspector/agents/InspectorTimelineAgent.cpp
    M Source/WebCore/inspector/agents/InspectorTimelineAgent.h

  Log Message:
  -----------
  Web Inspector: Define which timeline events can be nested
https://bugs.webkit.org/show_bug.cgi?id=313959

Reviewed by Devin Rousso.

Currently, any timeline event that occurs during a longer ongoing event
unconditionally becomes its child, regardless of whether they are
logically related.

This patch adds `InspectorTimelineAgent::shouldNestUnder()` method that
defines which events can be nested under which other events.

* Source/WebCore/inspector/agents/InspectorTimelineAgent.cpp:
(WebCore::InspectorTimelineAgent::shouldNestUnder const):
(WebCore::InspectorTimelineAgent::addRecordToTimeline):
* Source/WebCore/inspector/agents/InspectorTimelineAgent.h:

Canonical link: https://commits.webkit.org/312649@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to