Bug 176923

Summary: Web Inspector: Add tests for different Timeline events
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: inspector-bugzilla-changes
Priority: P2    
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
See Also: https://bugs.webkit.org/show_bug.cgi?id=176824
Attachments:
Description Flags
[PATCH] Work in Progress - Timer tests none

Description Joseph Pecoraro 2017-09-14 10:56:15 PDT
Created attachment 320792 [details]
[PATCH] Work in Progress - Timer tests

Add tests for different Timeline events.

I tried to add a bunch for timers, and the last timer events (fire / clear) were sometimes not included in the recording. See attached WIP patch:
https://bugs.webkit.org/show_bug.cgi?id=176824#c14

> {
>     "id": "EventType",
>     "type": "string",
>     "description": "Timeline record type.",
>     "enum": [
>         "EventDispatch",
>         "ScheduleStyleRecalculation",
>         "RecalculateStyles",
>         "InvalidateLayout",
>         "Layout",
>         "Paint",
>         "Composite",
>         "RenderingFrame",
>         "TimerInstall",
>         "TimerRemove",
>         "TimerFire",
>         "EvaluateScript",
>         "TimeStamp",
>         "Time",
>         "TimeEnd",
>         "FunctionCall",
>         "ProbeSample",
>         "ConsoleProfile",
>         "RequestAnimationFrame",
>         "CancelAnimationFrame",
>         "FireAnimationFrame"
>     ]
> },