Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(trace): account for last child node removal #7332

Merged
merged 2 commits into from
Jun 26, 2021

Conversation

pavelfeldman
Copy link
Member

@pavelfeldman pavelfeldman commented Jun 26, 2021

Fixes #7304

@@ -355,6 +356,7 @@ export function frameSnapshotStreamer(snapshotStreamer: string) {
}
for (let child = node.firstChild; child; child = child.nextSibling)
visitChild(child);
expectValue(kEndOfChildren);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do the same at line 414 (new code) for attributes.

@pavelfeldman pavelfeldman merged commit 02538fb into microsoft:master Jun 26, 2021
aslushnikov pushed a commit to aslushnikov/playwright that referenced this pull request Jun 26, 2021
aslushnikov added a commit that referenced this pull request Jun 26, 2021
PR #7332 SHA 02538fb

Co-authored-by: Pavel Feldman <pavel.feldman@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Snapshots are not captured if there is an animation at the beginning
2 participants