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: wrong rootId value in special iframes #1100

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

YunFeng0817
Copy link
Member

@YunFeng0817 YunFeng0817 commented Jan 23, 2023

This pull request fixes two problems:

  1. When some same-origin iframes are nested in cross-origin iframes, their rootIds are wrong.
    For the scenario, please refer to the test case:
    https://github.com/rrweb-io/rrweb/pull/1100/files#diff-bf7ca29c8daccc947cedb2b10b13e757062bd5d893aad3598bc111f5c07564efR520-R536

  2. The property rootId is missing in serialized cross-origin iframes

1. When some same-origin iframes are nested in cross-origin iframes, their `rootId`s are wrong.

2. The property `rootId` is missing in serialized cross-origin iframes
@YunFeng0817 YunFeng0817 requested a review from Juice10 January 23, 2023 05:59
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.

2 participants