Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/vue
SDK Version
7.93.0
Framework Version
Vue 3.4.10
Link to Sentry event
No response
SDK Setup
Sentry.init({// dsn: "",tracesSampleRate: 1.0,integrations: [newSentry.BrowserTracing(),],});Steps to Reproduce
constrequest=newRequest("/test",{headers: {foo: "11"},});fetch(request,{headers: {bar: "22"},});Expected Result
The request should have the header bar: 22.
Actual Result

I believe it was a mistake in selecting the request headers to be merged.
| constheaders= |
| typeofRequest!=='undefined'&&isInstanceOf(request,Request) ? (requestasRequest).headers : options.headers; |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/vue
SDK Version
7.93.0
Framework Version
Vue 3.4.10
Link to Sentry event
No response
SDK Setup
Steps to Reproduce
Expected Result
The request should have the header
bar: 22.Actual Result
I believe it was a mistake in selecting the request headers to be merged.
sentry-javascript/packages/tracing-internal/src/common/fetch.ts
Lines 151 to 152 in 2171633