Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http.Error not caught for invalid protocol in Firefox #34

Open
absynce opened this issue Oct 15, 2017 · 1 comment
Open

Http.Error not caught for invalid protocol in Firefox #34

absynce opened this issue Oct 15, 2017 · 1 comment

Comments

@absynce
Copy link

absynce commented Oct 15, 2017

I was trying to verify my error branch is working PageLoaded (Err _) so I intentionally used an invalid protocol: "htp".

✔️ In Chrome it's caught in the error branch as expected.
❌ In Firefox it throws a JavaScript error: "A network error occurred."

Here's my SSCCE: https://ellie-app.com/brMS86CJwa1/2.

Firefox 56.0 (64-bit)
Ubuntu 17.04
Elm 0.18

Checklist

  • ✅ Does your title concisely summarize the problem?
    I hope so. I'm fairly new to Elm so my terminology might be a bit off.
  • ✅ Did you include a minimal, reproducible example? Is it an SSCCE?
    Yes, https://ellie-app.com/brMS86CJwa1/2.
  • ✅ What OS and browser are you using? What versions?
    Ubuntu 17.04 and Firefox 56.0 (64-bit)
  • ✅ What version of Elm are you using?
    0.18
@process-bot
Copy link

Thanks for the issue! Make sure it satisfies this checklist. My human colleagues will appreciate it!

Here is what to expect next, and if anyone wants to comment, keep these things in mind.

@absynce absynce changed the title Http.Error not caught for invalid protocal in Firefox Http.Error not caught for invalid protocol in Firefox Oct 15, 2017
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

No branches or pull requests

2 participants