http icon indicating copy to clipboard operation
http copied to clipboard

Http.Error not caught for invalid protocol in Firefox

Open absynce opened this issue 7 years ago • 1 comments

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

:heavy_check_mark: In Chrome it's caught in the error branch as expected. :x: 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

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

absynce avatar Oct 15 '17 02:10 absynce

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.

process-bot avatar Oct 15 '17 02:10 process-bot