OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // This file is loaded before each correctness test case and after v8_mock.js. |
| 6 // You can temporarily change JS behavior here to silence known problems. |
| 7 // Please refer to a bug in a comment and remove the suppression once the |
| 8 // problem is fixed. |
| 9 |
| 10 // Suppress http://crbug.com/662429 |
| 11 var __real_Math_pow = Math.pow |
| 12 Math.pow = function(a, b){ |
| 13 if (b < 0) { |
| 14 return 0.000017; |
| 15 } else { |
| 16 return __real_Math_pow(a, b); |
| 17 } |
| 18 } |
| 19 |
| 20 // Suppress http://crbug.com/663750 |
| 21 Object.freeze = function(o){ print (__PrettyPrint(o)); } |
OLD | NEW |