Skip to content
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

upstream: Merge upstream commits up to 609b7fac79a552f746dc880a28927dee382cd082 #220

Merged

Conversation

billyvg
Copy link
Member

@billyvg billyvg commented Sep 18, 2024

Merges upstream commits up to 609b7fa

github-actions bot and others added 18 commits May 22, 2024 15:52
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…rweb-io#1468)

Setting of the `crossorigin` attribute is not necessary for same-origin images, and causes an immediate image reload (albeit from cache) necessitating the use of a load event listener which subsequently mutates the snapshot.  This change allows us to  avoid the mutation of the snapshot for the same-origin case.

* Modify inlineImages test to remove delay and show that we can inline images without mutation

* Add an explicit test for when the `image.crossOrigin = 'anonymous';` method is necessary.  Uses a combination of about:blank and our test server to simulate a cross-origin context

* Other test changes: there were some spurious rrweb mutations being generated by the addition of the crossorigin attribute that are now elimnated from the rrweb/__snapshots__/integration.test.ts.snap after this PR - this is good
fix for options `recordCanvas: true`: 
* replace document.createElement with doc.createElement in rrweb-snapshot code
* Eoghan: add a regression test to prevent future accidental use of `document` instead of `doc`.  This test can be excised if a new feature can only be run in the browser and not in the jsdom environment
* Older versions of Safari 16 don't support lookbehind assertions - https://caniuse.com/js-regexp-lookbehind

* Refactor to show the similarity between these two regexes

* Apply formatting changes

* Create no-neg-lookbehind.md

---------

Co-authored-by: eoghanmurray <[email protected]>
* Refactor to preclude the need for a continuous raf loop

* Apply formatting changes

* Create shadow-dom-unbusify.md

---------

Co-authored-by: eoghanmurray <[email protected]>
…ure (rrweb-io#1489)

* perf(mutation): add deep tree benchmark

* perf(mutation): use iterative procedure

* perf(mutation): run formatter

* perf(mutation): add changeset
…merge-609b7fac79a552f746dc880a28927dee382cd082
…merge-609b7fac79a552f746dc880a28927dee382cd082
…merge-609b7fac79a552f746dc880a28927dee382cd082
…merge-609b7fac79a552f746dc880a28927dee382cd082
…merge-609b7fac79a552f746dc880a28927dee382cd082
…merge-609b7fac79a552f746dc880a28927dee382cd082
…merge-609b7fac79a552f746dc880a28927dee382cd082
…2-update-to-609b7fac79a552f746dc880a28927dee382cd082
@billyvg billyvg changed the title Version Packages (alpha) (#1453) upstream: Merge upstream commits up to 609b7fac79a552f746dc880a28927dee382cd082 Sep 18, 2024
@billyvg billyvg marked this pull request as ready for review September 18, 2024 22:06
@billyvg billyvg requested a review from a team September 18, 2024 22:06
@billyvg billyvg merged commit 09de64e into sentry-v2 Sep 18, 2024
16 checks passed
@billyvg billyvg deleted the sentry-v2-update-to-609b7fac79a552f746dc880a28927dee382cd082 branch September 18, 2024 22:17
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Sep 19, 2024
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Sep 20, 2024
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 7, 2024
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 8, 2024
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 9, 2024
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 9, 2024
billyvg added a commit to getsentry/sentry-javascript that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants