GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(shared): load app links on browsers without URL.canParse by tanav29 · Pull Request #36976 · pingdotgg/t3code

Conversation

@tanav29

@tanav29 tanav29 commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Browsers such as iOS 16 Safari do not provide URL.canParse, so checking the initial prompt link throws before the app can load. Parse prompt and pairing links with the URL constructor and return null on invalid URLs instead. This is a small compatibility fix with no new settings or flow.

Closes #36969.

Verification on Windows / Node 24.21.0:

  • The two existing link tests fail with URL.canParse is not a function before the fix when the unsupported API throws; all 20 tests pass afterward (cd packages/shared; vp test run --config ../../vite.config.ts src/promptLinks.test.ts src/remote.test.ts). Coverage includes valid app and hosted links, invalid URLs, malformed hosted origins, and pairing links.
  • Shared package typecheck, changed-file lint and format, and the commit hook's knip checks pass.
  • vp run check:changed 2dfc4a9c9 was attempted, but stalled in its initial git ls-files --others --ignored generated-file scan on this Windows checkout and was stopped. Its full affected-package checks are not claimed to pass.
  • No physical iOS 16 device or browser capture was available; compatibility is verified at the shared production parser boundary. Desktop and mobile consume the same parsers; providers, wire contracts, permissions, and connection modes have no separate changes.

Written with GPT-6.1 Sol through the Codex harness in T3 Code.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tanav29
fix(shared): parse app links on browsers without URL.canParse
dec2cee
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 14, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 14, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 14, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at dec2cee

Macroscope's review found this PR approvable — Restores app-link parsing in browsers without URL.canParse while preserving existing URL restrictions and pairing confirmation. The change is a bounded compatibility fix with no product-default changes.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Nov 14, 2026

Copy link
Copy Markdown
Member

Thanks for this. #36973 makes the same change and is the one being kept.

#36973 includes the same prompt and pairing link fixes and also replaces unsupported URL APIs elsewhere in the browser client. That broader coverage prevents the same compatibility failure from recurring after the app loads.

Your fix addresses the reported startup failure, and the added invalid-link assertions are useful. We’ll continue with the more complete fix.

Closing as a duplicate.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Nov 14, 2026
@tanav29
tanav29 deleted the fix/ios16-url-parsing branch November 15, 2026 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

[Bug]: URL.canParse unavailable and prevents loading on iOS 16

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@tanav29 @juliusmarminge
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.