Commit 011afcb
Add test coverage for non-HTTP scheme locations
The tel:, sms: and custom scheme cases also guard the fix when running
on the JVM: the desktop JDK bundles a mailto protocol handler, so the
mailto case alone would pass even without the fix. Android's libcore
has no mailto handler and throws for all of these schemes.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 819b686 commit 011afcb
1 file changed
Lines changed: 8 additions & 0 deletions
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
204 | 212 | | |
205 | 213 | | |
206 | 214 | | |
| |||
0 commit comments