Skip to content

Conversation

@brandonpayton
Copy link
Member

Motivation for the change, related issues

We have a university user whose old version of Safari (16.6) doesn't support URL.canParse(). Playground may break in other ways for this user, but since we only use URL.canParse() in one place, let's see if avoiding it could help such a user.

Implementation details

This PR replaces URL.canParse() with a dedicated predicate to detect whether a URL appears absolute.

Testing Instructions (or ideally a Blueprint)

  • CI

@brandonpayton
Copy link
Member Author

This is simple, low-risk, and the tests pass. Let's merge.

@brandonpayton brandonpayton merged commit d3420fb into trunk Nov 13, 2025
29 checks passed
@brandonpayton brandonpayton deleted the avoid-url-can-parse-error branch November 13, 2025 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants