Compare Revisions
Last modification
- Rev 427 2013-05-02 23:13:17
- Author: PointedEars
- Log message:
* object.js: jsx.throwThis(): Use jsx.getStackTrace() to support JScript <= 9.0
/trunk/object.js |
1644,7 → 1644,7 |
var sContext = ""; |
if (typeof Error == "function") |
{ |
var stack = (new Error()).stack; |
var stack = jsx.getStackTrace(new Error()); |
if (stack) |
{ |
sContext = "\n\n" + stack; |
1887,7 → 1887,7 |
jsx.getStackTrace = function () { |
/** |
* @private |
* @param excp |
* @param {Error} excp |
*/ |
function parseErrorStack(excp) |
{ |