fix: rrweb recorder may throw error when stopping recording after an iframe becomes cross-origin (#1695)

* fix: rrweb recorder may throw error when stopping recording after an iframe becomes cross-origin

* add change set

* add failure message check

* Update packages/rrweb/src/record/index.ts

Co-authored-by: Eoghan Murray <eoghan@getthere.ie>

* remove settimeout

---------

Co-authored-by: Eoghan Murray <eoghan@getthere.ie>
This commit is contained in:
Yun Feng
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 5055db8fd0
commit 40b8cda391
3 changed files with 45 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"rrweb": patch
---
fix: rrweb recorder may throw error when stopping recording after an iframe becomes cross-origin