Index: tools/foozzie/v8_mock.js |
diff --git a/tools/foozzie/v8_mock.js b/tools/foozzie/v8_mock.js |
index 82a5e72ccd203b4625d18b3029e27a4eb3a9022a..6bda1d564355d9d2712f740b8e534b40ec39c1ed 100644 |
--- a/tools/foozzie/v8_mock.js |
+++ b/tools/foozzie/v8_mock.js |
@@ -53,6 +53,11 @@ __magic_mock_date_handler = { |
Date = new Proxy(Date, __magic_mock_date_handler); |
+// Mock stack traces. |
+Error.prepareStackTrace = function (error, structuredStackTrace) { |
+ return ""; |
+} |
+ |
// Mock Worker. |
var __magic_index_for_mocked_worker = 0 |
// TODO(machenbach): Randomize this for each test case, but keep stable during |