Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(97)

Unified Diff: tools/foozzie/v8_suppressions.js

Issue 2578503003: [foozzie] Initial correctness fuzzer harness. (Closed)
Patch Set: updates Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/foozzie/v8_suppressions.js
diff --git a/tools/foozzie/v8_suppressions.js b/tools/foozzie/v8_suppressions.js
new file mode 100644
index 0000000000000000000000000000000000000000..cf2d5b09d74d048494e0c49dd0cc03749132d3cd
--- /dev/null
+++ b/tools/foozzie/v8_suppressions.js
@@ -0,0 +1,22 @@
+// 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 cases and after v8_mock.js.
tandrii(chromium) 2016/12/19 08:43:32 s/cases/case
Michael Achenbach 2016/12/19 09:42:19 Done.
+// 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)); }
+

Powered by Google App Engine
This is Rietveld 408576698