Skip to content

Fix song loading on older iPad Safari - #194

Merged
rusahu merged 2 commits into
mainfrom
fix/old-safari-abort-signal
Nov 24, 2026
Merged

rusahu merged 2 commits into
mainfrom
fix/old-safari-abort-signal

Conversation

@rusahu

@rusahu rusahu commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Older iPads showed "AbortSignal.timeout is not a function" and the offline banner instead of songs. AbortSignal.timeout (Safari 16+) and AbortSignal.any (Safari 17.4+) now go through timeoutSignal and anySignal in lib/util.ts, which fall back to an AbortController when the native one is missing.

Tests cover both fallbacks and a GET with AbortSignal.timeout removed. Version bump to 1.33.1 included.

Older iPads (Safari < 16) threw on every GET and showed the offline banner; Safari < 17.4 failed offline downloads on AbortSignal.any.
@rusahu
rusahu merged commit d93214e into main Nov 24, 2026
3 checks passed
@rusahu
rusahu deleted the fix/old-safari-abort-signal branch November 24, 2026 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant