Skip to content

Commit 3f8dd42

Browse files
authored
fix(replay): Fix feature detection of PerformanceObserver (#7029)
This was unintentionally find/replaced. Our Network tab basically had no data (although some did, and Im not sure how thats possible).
1 parent 6ddc5cd commit 3f8dd42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/replay/src/replay.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -474,8 +474,8 @@ export class ReplayContainer implements ReplayContainerInterface {
474474
this._handleException(err);
475475
}
476476

477-
// _performanceObserver //
478-
if (!('_performanceObserver' in WINDOW)) {
477+
// PerformanceObserver //
478+
if (!('PerformanceObserver' in WINDOW)) {
479479
return;
480480
}
481481

0 commit comments

Comments
 (0)