Commit 9be4934d authored by machenbach's avatar machenbach Committed by Commit bot

[foozzie] Make Error immutable to prevent changes to stack-trace api

BUG=chromium:685633
NOTRY=true
TBR=yangguo@chromium.org, jarin@chromium.org

Review-Url: https://codereview.chromium.org/2658223002
Cr-Commit-Position: refs/heads/master@{#42726}
parent 3f47c63d
......@@ -55,6 +55,7 @@ var __PrettyPrint = function __PrettyPrint(msg) { print(msg); };
Error.prepareStackTrace = function (error, structuredStackTrace) {
return "";
};
Object.freeze(Error)
// 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