Commit 1d403ce7 authored by Michael Achenbach's avatar Michael Achenbach Committed by Commit Bot

[foozzie] Mock out measureMemory for correctness fuzzing

No-Try: true
Bug: chromium:1023247
Change-Id: I23abb26425d7adcd69d07af906738a69bac8688d
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1906380
Commit-Queue: Michael Achenbach <machenbach@chromium.org>
Reviewed-by: 's avatarClemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64871}
parent 636e6c9b
......@@ -78,9 +78,10 @@ var prettyPrinted = function prettyPrinted(msg) { return msg; };
Date = new Proxy(Date, handler);
})();
// Mock performace.now().
// Mock performace methods.
(function () {
performance.now = function () { return 1.2; }
performance.measureMemory = function () { return []; }
})();
// Mock stack traces.
......
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