fetch bug when server not responding

Hi !

i want to set a timeout for a fetch function so i’m doing somehing like:

  setTimeout( function() { 
    console.log("2 seconds after!!")
  }, 2000)

  console.log("pre-fetch")  

  fetch("http://getSomeInfoFromSomewhere", {
  }).then( ...  console.log("response received" ... )
  
 console.log("after fetch")

wich prints:

    pre-fetch
    after-fetch
    response received (if the query takes less than 2 seconds)
    2 seconds after!!

then i create a void function in my server so it takes forever to handle the request. If I do so then the output is only:

    pre-fetch

and then the app seems stuck in that point. I guess that’s a bug.

Fuse 0.31
OS X

This sounds like a bug. We will take a look.