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
2025-08-05 00:45:57 -07:00
committed by GitHub
parent 4db9782d12
commit fc390a954c
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