Index: src/messages.js |
diff --git a/src/messages.js b/src/messages.js |
index 719c3877a51c9fdabde4541a63e00ac0b0bcf491..0d2d3d40f2acd3a51ee3c098ea6690ff4b922a56 100644 |
--- a/src/messages.js |
+++ b/src/messages.js |
@@ -1015,7 +1015,6 @@ utils.InstallFunctions(GlobalError.prototype, DONT_ENUM, |
['toString', ErrorToString]); |
$errorToString = ErrorToString; |
-$getStackTraceLine = GetStackTraceLine; |
$messageGetPositionInLine = GetPositionInLine; |
$messageGetLineNumber = GetLineNumber; |
$messageGetSourceLine = GetSourceLine; |
@@ -1076,4 +1075,8 @@ captureStackTrace = function captureStackTrace(obj, cons_opt) { |
GlobalError.captureStackTrace = captureStackTrace; |
+utils.ExportToRuntime(function(to) { |
+ to.GetStackTraceLine = GetStackTraceLine; |
+}); |
+ |
}); |