Summary: | Web Inspector: Canvas: recordings with a single frame sometimes missing TreeElement | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||
Component: | Web Inspector | Assignee: | Devin Rousso <hi> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | commit-queue, hi, inspector-bugzilla-changes, joepeck, webkit-bug-importer | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=194721 | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 175485 | ||||||
Attachments: |
|
Description
Devin Rousso
2019-02-14 18:24:30 PST
AFAICT, it looks like the issue has to do with `Object.prototype.soon`. Here's the stream of calls: 1. `appendChild` for "Initial State" 2. `soon` `updateVirtualizedElements` for the recording actions `TreeOutline` 3. the timeout from (2) fires, which actually adds the `TreeElement` from (1) to the DOM 4. `appendChild` for "Frame 1" 5. `soon` `updateVirtualizedElements` for the recording actions `TreeOutline` => the timeout from (5) never seems to fire (In reply to Devin Rousso from comment #0) > 5. once the recording loads, select the "Frame 1" tree element Interestingly, the issue only reproduces when any `TreeElement` other than the first one is selected. Additionally, the first recording (3) can be multi-frame, but the second recording (6) has to be single-frame. Created attachment 362092 [details]
Patch
Comment on attachment 362092 [details]
Patch
r=me
Comment on attachment 362092 [details] Patch Clearing flags on attachment: 362092 Committed r241875: <https://trac.webkit.org/changeset/241875> All reviewed patches have been landed. Closing bug. |