Skip to content

blazor.server.js SyntaxError: Unexpected token '{' in Safari Version 16.3. with a Mac Studio using Ventura 13.2 #58212

@julianadormon

Description

@julianadormon

URL(s)

https://jbordeauxphotography.proofpix.com/roseville-high-2024/

Description

Long story short, I went into production with .net9 RC1 after much testing (I know, I know).

I then started getting complaints from a few Safari users that their websites were not loading all the content. Upon reviewing their site on their system, there was no WebSocket connection being opened. We run blazor server for them.

The console reports: blazor.server.js SyntaxError: Unexpected token '{'

They were not having any problems until I upgraded from .net 8.

I have no problems on Safari running on MacOS Version 14(sonoma) or 15(sequioa).

Something about the javascript engine in the older version of Safari does not like what's going on now, methinks.

screenshot-2024-10-02-at-94643_1n8ute9

I hope this is helpful. Thanks for all you do!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions