jubayerarefin / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

goog.async.throwException is not throwing anything #640

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the JavasScript console
2. execute: goog.async.throwException(new Error('test'))

What is the expected output? What do you see instead?

Excepted output in console: "Uncaught Error: test"
Instead nothing happens.

What version of the product are you using? On what operating system?

Chrome Version 34.0.1847.116
Firefox 26.0

Both on OS X 10.9.2

Please provide any additional information below.

This is related to Issue 632.

goog.Promise is also not throwing unhandled errors. It should, as goog.Promise 
calls goog.async.throwException by default on unhandled rejected promises. 
However nothing happens, as described above.

Original issue reported on code.google.com by alo.and on 21 Apr 2014 at 10:00

GoogleCodeExporter commented 8 years ago
Can't repro this, see https://github.com/google/closure-library/issues/6

Original comment by joelt...@google.com on 17 Jul 2015 at 9:58

GoogleCodeExporter commented 8 years ago
This project has moved: https://github.com/google/closure-library

Original comment by johnl...@google.com on 23 Jul 2015 at 7:51