Why does SvelteKit load 4 about:blank
pages when adding Sentry?
#9262
Unanswered
kevinrenskers
asked this question in
Q&A
Replies: 1 comment
-
+1, curious about that one. I'm not sure if it affects performance, but I'm trying to optimize my app for Safari |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I originally asked this on the Sentry repo, but they say it's not them making these requests, it must be SvelteKit. Maybe somewhere here knows?
I started a completely blank SvelteKit project, by using
npm create svelte@latest my-app
and choosing the skeleton option.The only change I made is adding this code to
hooks.client.ts
:And now I can see 4 requests getting made to
about:blank
, and I just can't figure out why this is happening. It seems to only happen in Safari, or at least it's the only browser that shows these in the network inspector.It's not a huge deal of course, but I just can't figure out what line of code is causing this. Creating a build of the project and grepping for
about:blank
doesn't give any results.Beta Was this translation helpful? Give feedback.
All reactions