mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Fix for bug 290034: JavaScriptException should not be wrapped inside
Context.throwAsScriptRuntimeEx
This commit is contained in:
parent
1b2bb3cac1
commit
05ee41a100
@ -1687,11 +1687,8 @@ public class Context
|
||||
if (e instanceof Error) {
|
||||
throw (Error)e;
|
||||
}
|
||||
if (e instanceof EvaluatorException) {
|
||||
throw (EvaluatorException)e;
|
||||
}
|
||||
if (e instanceof EcmaError) {
|
||||
throw (EcmaError)e;
|
||||
if (e instanceof RhinoException) {
|
||||
throw (RhinoException)e;
|
||||
}
|
||||
throw new WrappedException(e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user