Home | History | Annotate | Download | only in foozzie
      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 (function () {
     12   var __real_Math_pow = Math.pow
     13   Math.pow = function(a, b){
     14     if (b < 0) {
     15       return 0.000017;
     16     } else {
     17       return __real_Math_pow(a, b);
     18     }
     19   }
     20 })();
     21