| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a8c83b7d-516e-c7bd-57ca-0ccec7fb4b8d |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AA94:904AC:58A99C:7C658F:6B044E9D |
| html-safe-nonce | caa7df94a7c92ba1a7c7bb3a7477c5d85f0ffc71c6ab72a187ac71d67d2ccb90 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTk0OjkwNEFDOjU4QTk5Qzo3QzY1OEY6NkIwNDRFOUQiLCJ2aXNpdG9yX2lkIjoiNjg4OTUyNDk5NjU1ODA0ODkyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a79cd156c66a16e20053f41069576836525181e3b0439b0bb4f9b0186705dc2 |
| hovercard-subject-tag | pull_request:680063860 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/3766/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/11b4ce90300cce07fb59abaa92af8e30ebdb7998c37500c9892c47469113c874/getsentry/sentry-javascript/pull/3766 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/11b4ce90300cce07fb59abaa92af8e30ebdb7998c37500c9892c47469113c874/getsentry/sentry-javascript/pull/3766 |
| og:image:alt | Fixes #3705
Supersedes #3707
We should check if document.scripts exists as it does not exist in some browser environments. This patch also refactors the document logic to rely on global.document in... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| hostname | github.com |
| expected-hostname | github.com |
| None | 002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730 |
| turbo-cache-control | no-cache |
| 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 | 059f24c781e3a0d7df3f27a97da0e93fab06ae39 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/3766#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F3766 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F3766 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/3766 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/3766 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/3766 |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues339 (339) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests54 (54) | https://github.com/getsentry/sentry-javascript/pulls |
| Discussions | https://github.com/getsentry/sentry-javascript/discussions |
| Actions | https://github.com/getsentry/sentry-javascript/actions |
| Security and quality7 (7) | https://github.com/getsentry/sentry-javascript/security |
| Insights | https://github.com/getsentry/sentry-javascript/insights |
| https://github.com/getsentry/sentry-javascript |
| AbhiPrasad | https://github.com/AbhiPrasad |
| master | https://github.com/getsentry/sentry-javascript/tree/master |
| abhi-document-scripts | https://github.com/getsentry/sentry-javascript/tree/abhi-document-scripts |
| Conversation | https://github.com/getsentry/sentry-javascript/pull/3766 |
| Commits2 (2) | https://github.com/getsentry/sentry-javascript/pull/3766/commits |
| Checks | https://github.com/getsentry/sentry-javascript/pull/3766/checks |
| Files changed | https://github.com/getsentry/sentry-javascript/pull/3766/files |
| fix(tracing): Add check for document.scripts in metrics | https://github.com/getsentry/sentry-javascript/pull/3766#top |
| AbhiPrasad | https://github.com/AbhiPrasad |
| master | https://github.com/getsentry/sentry-javascript/tree/master |
| abhi-document-scripts | https://github.com/getsentry/sentry-javascript/tree/abhi-document-scripts |
|
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Jun 29, 2021 | https://github.com/getsentry/sentry-javascript/pull/3766#issue-932756287 |
| #3705 | https://github.com/getsentry/sentry-javascript/issues/3705 |
| #3707 | https://github.com/getsentry/sentry-javascript/pull/3707 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/3766 |
|
| https://github.com/AbhiPrasad |
| fix(tracing): Add check for document.scripts in metrics | https://github.com/getsentry/sentry-javascript/pull/3766/commits/f89b8691bd3ca9933567acb063a5a45f004ff1eb |
| f89b869 | https://github.com/getsentry/sentry-javascript/pull/3766/commits/f89b8691bd3ca9933567acb063a5a45f004ff1eb |
| #3705 | https://github.com/getsentry/sentry-javascript/issues/3705 |
| #3707 | https://github.com/getsentry/sentry-javascript/pull/3707 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| kamilogorek | https://github.com/kamilogorek |
| code owner | https://github.com/getsentry/sentry-javascript/blob/3f53fef99051c0a2eb18472284e0576cd6c9a20c/.github/CODEOWNERS#L1 |
| June 29, 2021 14:29 | https://github.com/getsentry/sentry-javascript/pull/3766#event-4954070453 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Jun 29, 2021
| https://github.com/getsentry/sentry-javascript/pull/3766#ref-pullrequest-924744457 |
|
fix(MetricsInstrumentation): check document.scripts not null
#3707
| https://github.com/getsentry/sentry-javascript/pull/3707 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jun 29, 2021 | https://github.com/getsentry/sentry-javascript/pull/3766#issuecomment-870662683 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/3766 |
| size-limit | https://github.com/ai/size-limit |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/3766 |
| https://github.com/HazAT |
| HazAT | https://github.com/HazAT |
|
Jun 30, 2021
| https://github.com/getsentry/sentry-javascript/pull/3766#pullrequestreview-696013063 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/3766/files/f89b8691bd3ca9933567acb063a5a45f004ff1eb |
|
| https://github.com/AbhiPrasad |
| Merge branch 'master' into abhi-document-scripts | https://github.com/getsentry/sentry-javascript/pull/3766/commits/ec56445e245aa2d4d696611fbff6b1f995647493 |
| ec56445 | https://github.com/getsentry/sentry-javascript/pull/3766/commits/ec56445e245aa2d4d696611fbff6b1f995647493 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| June 30, 2021 11:24 | https://github.com/getsentry/sentry-javascript/pull/3766#event-4958982176 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| 5289d40 | https://github.com/getsentry/sentry-javascript/commit/5289d4082143d186ec1da91087f47284ca87f6c9 |
| Jun 30, 2021 | https://github.com/getsentry/sentry-javascript/pull/3766#event-4959032520 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
| June 30, 2021 11:35 | https://github.com/getsentry/sentry-javascript/pull/3766#event-4959032595 |
| 1999 | https://github.com/1999 |
|
Jun 30, 2021
| https://github.com/getsentry/sentry-javascript/pull/3766#ref-commit-85af3f7 |
|
| https://github.com/1999 |
| Merge remote-tracking branch 'upstream/master' into dsorin/forge-add-… | https://github.com/1999/sentry-javascript/commit/85af3f7806f69ed646b10d13aa423a1610b53ed5 |
| 85af3f7 | https://github.com/1999/sentry-javascript/commit/85af3f7806f69ed646b10d13aa423a1610b53ed5 |
| getsentry#3766 | https://github.com/getsentry/sentry-javascript/pull/3766 |
| getsentry#3765 | https://github.com/getsentry/sentry-javascript/pull/3765 |
| getsentry#3764 | https://github.com/getsentry/sentry-javascript/pull/3764 |
| getsentry#3759 | https://github.com/getsentry/sentry-javascript/pull/3759 |
| getsentry#3760 | https://github.com/getsentry/sentry-javascript/pull/3760 |
| getsentry#3763 | https://github.com/getsentry/sentry-javascript/pull/3763 |
| getsentry#3758 | https://github.com/getsentry/sentry-javascript/pull/3758 |
| getsentry#3755 | https://github.com/getsentry/sentry-javascript/pull/3755 |
| getsentry#3744 | https://github.com/getsentry/sentry-javascript/pull/3744 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F3766 |
|
| https://github.com/HazAT |
|
HazAT
| https://github.com/HazAT |
|
| https://github.com/getsentry/sentry-javascript/pull/3766/files/f89b8691bd3ca9933567acb063a5a45f004ff1eb |
|
| https://github.com/kamilogorek |
|
kamilogorek
| https://github.com/kamilogorek |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/3766 |
|
There are not 'document.scripts' in mini-program environment
| https://github.com/getsentry/sentry-javascript/issues/3705 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/3766 |
|
| https://github.com/AbhiPrasad |
|
| https://github.com/HazAT |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |