aspnetcore: Blazor 0.2.0 applications fail to load in Safari on macOS/iOS

Environment:

  • macOS High Sierra 10.13.4 (17E199)
  • dotnet 2.1.300-preview2-008533
  • Blazor 0.2.0

Repro steps:

  1. Create a blazer stand-alone (or hosted) app from the latest templates
  2. Build with dotnet build $project
  3. Run with dotnet run --project $project

Expected:

Blazor app runs in Safari as it did for the 0.1.0 runtime and templates

Actual

  • Safari attempts to load and fails with This webpage was reloaded because a problem occurred.
  • Safari attempts to reload.
  • Safari stops trying to reload after repeated failures. image

Additional details:

  • I attempted to open the JavaScript Console to see what was happening, but the console is closed due to the errors.
  • I don’t see any errors in the logs, just repeated requests for the same files with the expected HTTP 304 responses.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 23 (8 by maintainers)

Most upvoted comments

As it turns out, all crashes, mobile and desktop safari, share the same underlying bug.

For this issue, rolling back to asmjs on theses specific buggy Webkit version seem to solve the problem, but of course you can feel the performance drawback at startup.

I will try to address an update on my Blazor.Polyfill project tomorrow, in order to workaround to asmjs on theses specific Safari version. Better than nothing…