| Index: test/mjsunit/eval-stack-trace.js
|
| diff --git a/test/mjsunit/eval-stack-trace.js b/test/mjsunit/eval-stack-trace.js
|
| index 723d522c788616696ea1221addcccd35c187df4b..d83b84c16f283cf6710be54960be13848d957e71 100644
|
| --- a/test/mjsunit/eval-stack-trace.js
|
| +++ b/test/mjsunit/eval-stack-trace.js
|
| @@ -26,12 +26,13 @@
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| // Return the stack frames of an Error object.
|
| +
|
| +Error.prepareStackTrace = function(error, frames) {
|
| + return frames;
|
| +}
|
| +
|
| Error.prototype.getFrames = function() {
|
| - Error.prepareStackTrace = function(error, frames) {
|
| - return frames;
|
| - }
|
| var frames = this.stack;
|
| - Error.prepareStackTrace = undefined;
|
| return frames;
|
| }
|
|
|
|
|