Bug 176923 - Web Inspector: Add tests for different Timeline events
Summary: Web Inspector: Add tests for different Timeline events
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-14 10:56 PDT by Joseph Pecoraro
Modified: 2017-09-14 10:56 PDT (History)
1 user (show)

See Also:


Attachments
[PATCH] Work in Progress - Timer tests (23.87 KB, patch)
2017-09-14 10:56 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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"
>     ]
> },