[HTML5] throw new Error("text") is not shown in browser console

[HTML5] throw new Error(“text”) is not shown in browser console

It seems to work here?

I found out the reason.
If I create instance using hexInject https://github.com/DoclerLabs/hexInject
error is not shown in console:

var instance  = injector.instantiateUnmapped(MyCoolInstance);
class MyCoolInstance
     public function init():Void
           throw new Error("error);

UPD: I created issue there: