-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(replay): Expose rrweb recordCrossOriginIframes under _experiments #14916
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
f4cd9ca
1aa3c96
578332d
928c63a
6bb656b
8123131
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,6 +152,11 @@ export class Replay implements Integration { | |
}, | ||
}; | ||
|
||
// experimental support for recording iframes from different origins | ||
if (_experiments.recordCrossOriginIframes) { | ||
this._recordingOptions.recordCrossOriginIframes = true; | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you add this directly to
billyvg marked this conversation as resolved.
Show resolved
Hide resolved
|
||
this._initialOptions = { | ||
flushMinDelay, | ||
flushMaxDelay, | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -239,6 +239,7 @@ export interface ReplayPluginOptions extends ReplayNetworkOptions { | |
captureExceptions: boolean; | ||
traceInternals: boolean; | ||
continuousCheckout: number; | ||
recordCrossOriginIframes: boolean; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We could leave a note here for security concerns and link to https://github.com/rrweb-io/rrweb/blob/master/docs/recipes/cross-origin-iframes.md |
||
}>; | ||
} | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.