Commit 21340ded authored by machenbach's avatar machenbach Committed by Commit bot

[foozzie] Improve mocking stack traces

BUG=chromium:685633
NOTRY=true

Review-Url: https://codereview.chromium.org/2654273004
Cr-Commit-Position: refs/heads/master@{#42728}
parent fd918b59
......@@ -55,7 +55,8 @@ var __PrettyPrint = function __PrettyPrint(msg) { print(msg); };
Error.prepareStackTrace = function (error, structuredStackTrace) {
return "";
};
Object.freeze(Error)
Object.defineProperty(
Error, 'prepareStackTrace', { configurable: false, writable: false });
// Mock buffer access in float typed arrays because of varying NaN patterns.
// Note, for now we just use noop forwarding proxies, because they already
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment