[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: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64871}
This commit is contained in:
Michael Achenbach 2019-11-11 09:08:20 +01:00 committed by Commit Bot
parent 636e6c9b62
commit 1d403ce701

View File

@ -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.