rrweb icon indicating copy to clipboard operation
rrweb copied to clipboard

[Bug]: Replay issue when iframe present in DOM

Open shanptl12 opened this issue 2 years ago • 1 comments

Preflight Checklist

  • [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

2.0.0-alpha.7

Expected Behavior

Whenever there is iframe in replay and we try to jump to any timestamp, the iframe goes blank. For older versions before alpha the replay is playing just fine.

Note: In version 1.0.0-alpha.1 the same scenario is happening but its throwing console error which is not there in version 2.0.0-alpha.7 The error: Uncaught DOMException: Failed to execute 'insertBefore' on 'Node': Only one element on document allowed.

Actual Behavior

Replay should not go blank when we jump to any timestamp

Steps to Reproduce

Replay any sessions which has iframe element in it.

Testcase Gist URL

No response

Additional Information

No response

shanptl12 avatar Sep 30 '23 03:09 shanptl12

Can we get a solution for this?

shanptl12 avatar Oct 10 '23 04:10 shanptl12