mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fix 95101.
This commit is contained in:
parent
972247cef4
commit
afe5ac0483
@ -576,7 +576,8 @@ public class NativeGlobal implements IdFunctionMaster {
|
||||
|
||||
Object args[] = { message };
|
||||
try {
|
||||
Object errorObject = cx.newObject(scopeObject, error, args);
|
||||
Scriptable errorObject = cx.newObject(scopeObject, error, args);
|
||||
errorObject.put("name", errorObject, error);
|
||||
return new EcmaError((NativeError)errorObject, sourceName,
|
||||
lineNumber, columnNumber, lineSource);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user