AntiPattern
Wrong Environment Sentry Patching
sentry-wrong-runtime-document-patching
A recurring extension/host integration where Sentry is initialized or its WINDOW/document patch runs in the wrong runtime (e.g., content-script vs background/service-worker), causing non-writable globals to throw and break instrumentation.