You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extension is rejected by the reviewers
The given reason:
Violation reference ID: Blue Argon
Technical Requirements - Additional Requirements for Manifest V3:
Violation:
Including remotely hosted code in a Manifest V3 item.
Violating Content:
Code snippet: sidePanel.js: "function $re(e) { const t = an(), n = t && t.getOptions(), r = n && n.cdnBaseUrl || "https://browser.sentry-cdn.com/"; return new URL(/${mc}/${e}.min.js, r).toString() }"
The current work-around:
Clear up @sentry CDN links during the build process with a help of patch-package. See more info in the previous issue.
The text was updated successfully, but these errors were encountered:
We will look into this, ideally when using the feedbackIntegration from an NPM package like this it should not have references to the lazy loading code!
Closes#14891
This PR updates the sync feedback integration to avoid it pulling in the
`lazyLoadIntegration` code. This is not really needed and leads to some
problems (and also bundle size increase).
For this I updated the type signature of `buildFeedbackIntegration` to
ensure that _either_ `lazyLoadIntegration` _or_ the getter functions are
provided, so we can type-safely use this.
We probably also want to backport this to v8 then.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/browser
SDK Version
8.47.0
Framework Version
18.3.1
Link to Sentry event
No response
Reproduction Example/SDK Setup
As you kindly asked in the previous issue, #14010 (comment), I created a small repo with a reproduction to build a Chrome Extension for the side panel:
https://github.com/FedorT22/sandbox-chrome-extension
Steps to Reproduce
feedbackIntegration
function using@sentry/browser
or@sentry/react
. You can followREADME.md
file in the project./dist/sidePanel.js
anddist/sidePanel.js.map
the piece of code wtih CDN link:const baseURL = (options && options.cdnBaseUrl) || 'https://browser.sentry-cdn.com';\n\n return new URL(`/${SDK_VERSION}/${bundle}.min.js`, baseURL).toString();\n
Expected Result
Extension is approved by the reviewers.
Actual Result
Extension is rejected by the reviewers
The given reason:
The current work-around:
Clear up @sentry CDN links during the build process with a help of patch-package. See more info in the previous issue.
The text was updated successfully, but these errors were encountered: