Title: Allow to capture replays for Electron when node integration is enabled · Issue #6630 · getsentry/sentry-javascript · GitHub
Open Graph Title: Allow to capture replays for Electron when node integration is enabled · Issue #6630 · getsentry/sentry-javascript
X Title: Allow to capture replays for Electron when node integration is enabled · Issue #6630 · getsentry/sentry-javascript
Description: Which package are you using? @sentry/electron SDK Version master Steps to Reproduce Ref: getsentry/sentry-electron#606 (comment) This code: sentry-javascript/packages/replay/src/integration.ts Lines 138 to 141 in 36488ec setupOnce(): voi...
Open Graph Description: Which package are you using? @sentry/electron SDK Version master Steps to Reproduce Ref: getsentry/sentry-electron#606 (comment) This code: sentry-javascript/packages/replay/src/integration.ts Line...
X Description: Which package are you using? @sentry/electron SDK Version master Steps to Reproduce Ref: getsentry/sentry-electron#606 (comment) This code: sentry-javascript/packages/replay/src/integration.ts Line...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6630
X: @github
Domain: github.com
IPv4 address: 140.82.113.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow to capture replays for Electron when node integration is enabled","articleBody":"### Which package are you using?\r\n\r\n@sentry/electron\r\n\r\n### SDK Version\r\n\r\nmaster\r\n\r\n### Steps to Reproduce\r\n\r\nRef: https://github.com/getsentry/sentry-electron/issues/606#issuecomment-1356919390\r\n\r\nThis code:\r\n\r\nhttps://github.com/getsentry/sentry-javascript/blob/36488ec3ef5394c97dcf3c3ef25c09bab266e5ea/packages/replay/src/integration.ts#L138-L141\r\n\r\nMeans that Replay cannot be used in Electron renderers when `nodeIntegration` is enabled as `process` is defined. This has not been the default config for a couple of years and it's not recommended but it's still used a lot in real world applications. \r\n\r\n### Expected Result\r\n\r\nReplay should work in Electron renderers\r\n\r\n### Actual Result\r\n\r\nDoesn't work\r\n\r\nIs this check required? What is it trying to protect against?","author":{"url":"https://github.com/timfish","@type":"Person","name":"timfish"},"datePublished":"2022-12-30T17:01:31Z","url":"https://github.com/getsentry/sentry-javascript/issues/6630"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:67ebf83e-46c8-aaa1-711f-2bc50039c6a1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3EE:2FEBCD:3900A4:4FBE5D:6B042685 |
| html-safe-nonce | 04103878a87735573693e7fefd3941b8f6044c66bf3c725231171aae7cd75e93 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0VFOjJGRUJDRDozOTAwQTQ6NEZCRTVEOjZCMDQyNjg1IiwidmlzaXRvcl9pZCI6IjE4MjA2NDkxMDI1NjQ5MjcxMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5a537a25b9d3f00305647cea734ff0527caf929f2c3a285e2eebc953a0a3aa7f |
| hovercard-subject-tag | issue:1514648354 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/6630/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5004252c80b87000b92c007c0755babe4c9a5dd8840c1d3c8a3cc7465c476df5/getsentry/sentry-javascript/issues/6630 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5004252c80b87000b92c007c0755babe4c9a5dd8840c1d3c8a3cc7465c476df5/getsentry/sentry-javascript/issues/6630 |
| og:image:alt | Which package are you using? @sentry/electron SDK Version master Steps to Reproduce Ref: getsentry/sentry-electron#606 (comment) This code: sentry-javascript/packages/replay/src/integration.ts Line... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timfish |
| hostname | github.com |
| expected-hostname | github.com |
| None | f8d9f404447ab5df341c8a92cf5fc927730ad1321e64ac57656444d2438097f1 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f7edccce04851591ee529948701779ce6819bc53 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width