Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply formatting changes
  • Loading branch information
megboehlert authored and github-actions[bot] committed Oct 27, 2025
commit 66f882a1627d938c7abea482bc7704017996d466
11 changes: 6 additions & 5 deletions packages/rrweb/src/record/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import {
type SlimDOMOptions,
createMirror,
} from 'rrweb-snapshot';
import { initObservers, mutationBuffers, findAndRemoveIframeBuffer } from './observer';
import {
initObservers,
mutationBuffers,
findAndRemoveIframeBuffer,
} from './observer';
import {
on,
getWindowWidth,
Expand Down Expand Up @@ -437,10 +441,7 @@ function record<T = eventWithTime>(

try {
const handlers: listenerHandler[] = [];
const iframeHandlersMap = new Map<
HTMLIFrameElement,
listenerHandler
>();
const iframeHandlersMap = new Map<HTMLIFrameElement, listenerHandler>();

const observe = (doc: Document) => {
return callbackWrapper(initObservers)(
Expand Down