-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Cross origin iframe support #1035
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
63 commits
Select commit
Hold shift + click to select a range
1cabfbf
Add `recordCrossOriginIframe` setting
Juice10 bd0d633
Set up messaging between iframes
Juice10 017bd3e
should emit full snapshot event from iframe as mutation event
Juice10 f1c8d0b
this.mirror was dropped on attachIframe
Juice10 580ed6a
should use unique id for child of iframe
Juice10 f248392
Cross origin iframe recording in `yarn live-stream`
Juice10 e34e856
Root iframe check thats supported by firefox
Juice10 7e6a5ee
Live stream: Inject script in all frames
Juice10 a8542b8
Record same origin and cross origin iframes differently
Juice10 6b5a9c6
Should map Input events correctly
Juice10 fee185a
Turn on other tests
Juice10 cb1e065
Fix compatibility with newer puppeteer
Juice10 c54b981
puppeteer vs 12 seems stable without to many changes needed
Juice10 505ba2c
normalize port numbers in snapshots
Juice10 15c2cc0
Handle scroll and ViewportResize events in cross origin iframe
Juice10 9febf1c
Correctly map cross origin mutations
Juice10 5fa4634
Map selection events for cross origin iframes
Juice10 05a1fbc
Map canvas mutations for cross origin iframes
Juice10 8ea496c
Update snapshot to include canvas events
Juice10 8ac677b
Skip all meta events
Juice10 92b9594
Support custom events as best we can in cross origin iframes
Juice10 20a39e6
Use earliest version of puppeteer that works with cross origin live-s…
Juice10 738a1fc
Map mouse/touch interaction events
Juice10 6635390
Update snapshots for correctly mapped click events
Juice10 f884878
Tweak tests for new puppeteer version
Juice10 a598429
Map MediaInteraction correctly for cross origin iframes
Juice10 0f91e98
Make tests consistent between high and low dpi devices
Juice10 784c2da
Make test less flaky
Juice10 50c907e
Make test less flaky
Juice10 97b15ed
Make test less flaky
Juice10 89b14bd
Make test less flaky
Juice10 cb26153
Add support for styles in cross origin iframes
Juice10 fc2ad8c
Map traditional stylesheet mutations on cross origin iframes
Juice10 a348d33
Add todo
Juice10 bbdea9b
Add iframe mirror
Juice10 4bca6bb
Get iframe manager to use iframe mirrors internally
Juice10 8147d7f
Rename `IframeMirror` to `CrossOriginIframeMirror`
Juice10 7f23d34
Setup basic cross origin canvas webrtc streaming
Juice10 da4c53b
Clean up removed canvas elements
Juice10 e0e1a9b
reset style mirror on new full snapshot
Juice10 2e64e5e
Fix cross origin canvas webrtc streaming
Juice10 7d9bcb7
Make emit optional
Juice10 8bc678f
Run tests on github actions
Juice10 7c985d0
Upload image artifacts from failed tests
Juice10 48b8c1e
Use newer github actions
Juice10 dc02163
Test: hopefully adding more wait will fix it
Juice10 1a9c164
add extra wait
Juice10 c51e84f
Fix image snapshot tests
Juice10 6eb1d2e
Make tests run with new puppeteer version
Juice10 728e779
upgrade eslint-plugin-jest
Juice10 7b5c3cf
Chore: Remove travis ci as ci's running on github actions
Juice10 99ab6d7
Chore: Support recording cross origin iframe in repl
Juice10 2963357
Force developers to update the cross origin iframe mapping when addin…
Juice10 243530d
Document cross origin iframe recording
Juice10 f3705b3
Docs: cross origin iframes recording methods
Juice10 4a5e4cf
Docs: AI translated, cross origin iframe recording
Juice10 05632d2
Merge branch 'master' of https://github.com/rrweb-io/rrweb into cross…
Juice10 522cadb
rename getParentId to getId
Juice10 1608da3
Migrate to @rrweb/types
Juice10 1d92dcc
Run on pull request
Juice10 1e6630c
Merge remote-tracking branch 'origin/master' into cross-origin-iframes
YunFeng0817 5ea363d
doc: improve Chinese doc
YunFeng0817 22eb80a
Rename `parentId` to `Id`
Juice10 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
rename getParentId to getId
- Loading branch information
commit 522cadbecb05468c2cd97aa7baac89b5074e44ed
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.