e669816e1f
Initial version of the correctness fuzzer harness for manual testing and experiments. For automated usage, some outstanding TODOs are left in the code. E.g. - Hash source file names in error case - Bundle script in out directory with executables - Some suppressions are tied to already fixed bugs. We'll keep it like that for now to test removing those suppressions in production later. BUG=chromium:673246 NOTRY=true Review-Url: https://codereview.chromium.org/2578503003 Cr-Commit-Position: refs/heads/master@{#41789}
22 lines
692 B
JavaScript
22 lines
692 B
JavaScript
// Copyright 2016 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
// This file is loaded before each correctness test case and after v8_mock.js.
|
|
// You can temporarily change JS behavior here to silence known problems.
|
|
// Please refer to a bug in a comment and remove the suppression once the
|
|
// problem is fixed.
|
|
|
|
// Suppress http://crbug.com/662429
|
|
var __real_Math_pow = Math.pow
|
|
Math.pow = function(a, b){
|
|
if (b < 0) {
|
|
return 0.000017;
|
|
} else {
|
|
return __real_Math_pow(a, b);
|
|
}
|
|
}
|
|
|
|
// Suppress http://crbug.com/663750
|
|
Object.freeze = function(o){ print (__PrettyPrint(o)); }
|