OLD | NEW |
(Empty) | |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. |
| 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 # |
| 4 # Redistribution and use in source and binary forms, with or without |
| 5 # modification, are permitted provided that the following conditions |
| 6 # are met: |
| 7 # 1. Redistributions of source code must retain the above copyright |
| 8 # notice, this list of conditions and the following disclaimer. |
| 9 # 2. Redistributions in binary form must reproduce the above copyright |
| 10 # notice, this list of conditions and the following disclaimer in the |
| 11 # documentation and/or other materials provided with the distribution. |
| 12 # |
| 13 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY |
| 14 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 15 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 16 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
| 17 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 18 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 19 # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 20 # ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 21 # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 23 |
| 24 Tests that doing repeated resolves of 'arguments' from some nested scope doesn't
crash. |
| 25 |
| 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 27 |
| 28 |
| 29 PASS foo(42)[0] is 42 |
| 30 PASS foo(42).length is 1 |
| 31 PASS foo(42, 23)[1] is 23 |
| 32 PASS foo(42)[0] is 42 |
| 33 PASS foo(42).length is 1 |
| 34 PASS foo(42, 23)[1] is 23 |
| 35 PASS foo(42)[0] is 42 |
| 36 PASS foo(42).length is 1 |
| 37 PASS foo(42, 23)[1] is 23 |
| 38 PASS foo(42)[0] is 42 |
| 39 PASS foo(42).length is 1 |
| 40 PASS foo(42, 23)[1] is 23 |
| 41 PASS foo(42)[0] is 42 |
| 42 PASS foo(42).length is 1 |
| 43 PASS foo(42, 23)[1] is 23 |
| 44 PASS foo(42)[0] is 42 |
| 45 PASS foo(42).length is 1 |
| 46 PASS foo(42, 23)[1] is 23 |
| 47 PASS foo(42)[0] is 42 |
| 48 PASS foo(42).length is 1 |
| 49 PASS foo(42, 23)[1] is 23 |
| 50 PASS foo(42)[0] is 42 |
| 51 PASS foo(42).length is 1 |
| 52 PASS foo(42, 23)[1] is 23 |
| 53 PASS foo(42)[0] is 42 |
| 54 PASS foo(42).length is 1 |
| 55 PASS foo(42, 23)[1] is 23 |
| 56 PASS foo(42)[0] is 42 |
| 57 PASS foo(42).length is 1 |
| 58 PASS foo(42, 23)[1] is 23 |
| 59 PASS foo(42)[0] is 42 |
| 60 PASS foo(42).length is 1 |
| 61 PASS foo(42, 23)[1] is 23 |
| 62 PASS foo(42)[0] is 42 |
| 63 PASS foo(42).length is 1 |
| 64 PASS foo(42, 23)[1] is 23 |
| 65 PASS foo(42)[0] is 42 |
| 66 PASS foo(42).length is 1 |
| 67 PASS foo(42, 23)[1] is 23 |
| 68 PASS foo(42)[0] is 42 |
| 69 PASS foo(42).length is 1 |
| 70 PASS foo(42, 23)[1] is 23 |
| 71 PASS foo(42)[0] is 42 |
| 72 PASS foo(42).length is 1 |
| 73 PASS foo(42, 23)[1] is 23 |
| 74 PASS foo(42)[0] is 42 |
| 75 PASS foo(42).length is 1 |
| 76 PASS foo(42, 23)[1] is 23 |
| 77 PASS foo(42)[0] is 42 |
| 78 PASS foo(42).length is 1 |
| 79 PASS foo(42, 23)[1] is 23 |
| 80 PASS foo(42)[0] is 42 |
| 81 PASS foo(42).length is 1 |
| 82 PASS foo(42, 23)[1] is 23 |
| 83 PASS foo(42)[0] is 42 |
| 84 PASS foo(42).length is 1 |
| 85 PASS foo(42, 23)[1] is 23 |
| 86 PASS foo(42)[0] is 42 |
| 87 PASS foo(42).length is 1 |
| 88 PASS foo(42, 23)[1] is 23 |
| 89 PASS foo(42)[0] is 42 |
| 90 PASS foo(42).length is 1 |
| 91 PASS foo(42, 23)[1] is 23 |
| 92 PASS foo(42)[0] is 42 |
| 93 PASS foo(42).length is 1 |
| 94 PASS foo(42, 23)[1] is 23 |
| 95 PASS foo(42)[0] is 42 |
| 96 PASS foo(42).length is 1 |
| 97 PASS foo(42, 23)[1] is 23 |
| 98 PASS foo(42)[0] is 42 |
| 99 PASS foo(42).length is 1 |
| 100 PASS foo(42, 23)[1] is 23 |
| 101 PASS foo(42)[0] is 42 |
| 102 PASS foo(42).length is 1 |
| 103 PASS foo(42, 23)[1] is 23 |
| 104 PASS foo(42)[0] is 42 |
| 105 PASS foo(42).length is 1 |
| 106 PASS foo(42, 23)[1] is 23 |
| 107 PASS foo(42)[0] is 42 |
| 108 PASS foo(42).length is 1 |
| 109 PASS foo(42, 23)[1] is 23 |
| 110 PASS foo(42)[0] is 42 |
| 111 PASS foo(42).length is 1 |
| 112 PASS foo(42, 23)[1] is 23 |
| 113 PASS foo(42)[0] is 42 |
| 114 PASS foo(42).length is 1 |
| 115 PASS foo(42, 23)[1] is 23 |
| 116 PASS foo(42)[0] is 42 |
| 117 PASS foo(42).length is 1 |
| 118 PASS foo(42, 23)[1] is 23 |
| 119 PASS foo(42)[0] is 42 |
| 120 PASS foo(42).length is 1 |
| 121 PASS foo(42, 23)[1] is 23 |
| 122 PASS foo(42)[0] is 42 |
| 123 PASS foo(42).length is 1 |
| 124 PASS foo(42, 23)[1] is 23 |
| 125 PASS foo(42)[0] is 42 |
| 126 PASS foo(42).length is 1 |
| 127 PASS foo(42, 23)[1] is 23 |
| 128 PASS foo(42)[0] is 42 |
| 129 PASS foo(42).length is 1 |
| 130 PASS foo(42, 23)[1] is 23 |
| 131 PASS foo(42)[0] is 42 |
| 132 PASS foo(42).length is 1 |
| 133 PASS foo(42, 23)[1] is 23 |
| 134 PASS foo(42)[0] is 42 |
| 135 PASS foo(42).length is 1 |
| 136 PASS foo(42, 23)[1] is 23 |
| 137 PASS foo(42)[0] is 42 |
| 138 PASS foo(42).length is 1 |
| 139 PASS foo(42, 23)[1] is 23 |
| 140 PASS foo(42)[0] is 42 |
| 141 PASS foo(42).length is 1 |
| 142 PASS foo(42, 23)[1] is 23 |
| 143 PASS foo(42)[0] is 42 |
| 144 PASS foo(42).length is 1 |
| 145 PASS foo(42, 23)[1] is 23 |
| 146 PASS foo(42)[0] is 42 |
| 147 PASS foo(42).length is 1 |
| 148 PASS foo(42, 23)[1] is 23 |
| 149 PASS foo(42)[0] is 42 |
| 150 PASS foo(42).length is 1 |
| 151 PASS foo(42, 23)[1] is 23 |
| 152 PASS foo(42)[0] is 42 |
| 153 PASS foo(42).length is 1 |
| 154 PASS foo(42, 23)[1] is 23 |
| 155 PASS foo(42)[0] is 42 |
| 156 PASS foo(42).length is 1 |
| 157 PASS foo(42, 23)[1] is 23 |
| 158 PASS foo(42)[0] is 42 |
| 159 PASS foo(42).length is 1 |
| 160 PASS foo(42, 23)[1] is 23 |
| 161 PASS foo(42)[0] is 42 |
| 162 PASS foo(42).length is 1 |
| 163 PASS foo(42, 23)[1] is 23 |
| 164 PASS foo(42)[0] is 42 |
| 165 PASS foo(42).length is 1 |
| 166 PASS foo(42, 23)[1] is 23 |
| 167 PASS foo(42)[0] is 42 |
| 168 PASS foo(42).length is 1 |
| 169 PASS foo(42, 23)[1] is 23 |
| 170 PASS foo(42)[0] is 42 |
| 171 PASS foo(42).length is 1 |
| 172 PASS foo(42, 23)[1] is 23 |
| 173 PASS foo(42)[0] is 42 |
| 174 PASS foo(42).length is 1 |
| 175 PASS foo(42, 23)[1] is 23 |
| 176 PASS foo(42)[0] is 42 |
| 177 PASS foo(42).length is 1 |
| 178 PASS foo(42, 23)[1] is 23 |
| 179 PASS foo(42)[0] is 42 |
| 180 PASS foo(42).length is 1 |
| 181 PASS foo(42, 23)[1] is 23 |
| 182 PASS foo(42)[0] is 42 |
| 183 PASS foo(42).length is 1 |
| 184 PASS foo(42, 23)[1] is 23 |
| 185 PASS foo(42)[0] is 42 |
| 186 PASS foo(42).length is 1 |
| 187 PASS foo(42, 23)[1] is 23 |
| 188 PASS foo(42)[0] is 42 |
| 189 PASS foo(42).length is 1 |
| 190 PASS foo(42, 23)[1] is 23 |
| 191 PASS foo(42)[0] is 42 |
| 192 PASS foo(42).length is 1 |
| 193 PASS foo(42, 23)[1] is 23 |
| 194 PASS foo(42)[0] is 42 |
| 195 PASS foo(42).length is 1 |
| 196 PASS foo(42, 23)[1] is 23 |
| 197 PASS foo(42)[0] is 42 |
| 198 PASS foo(42).length is 1 |
| 199 PASS foo(42, 23)[1] is 23 |
| 200 PASS foo(42)[0] is 42 |
| 201 PASS foo(42).length is 1 |
| 202 PASS foo(42, 23)[1] is 23 |
| 203 PASS foo(42)[0] is 42 |
| 204 PASS foo(42).length is 1 |
| 205 PASS foo(42, 23)[1] is 23 |
| 206 PASS foo(42)[0] is 42 |
| 207 PASS foo(42).length is 1 |
| 208 PASS foo(42, 23)[1] is 23 |
| 209 PASS foo(42)[0] is 42 |
| 210 PASS foo(42).length is 1 |
| 211 PASS foo(42, 23)[1] is 23 |
| 212 PASS foo(42)[0] is 42 |
| 213 PASS foo(42).length is 1 |
| 214 PASS foo(42, 23)[1] is 23 |
| 215 PASS foo(42)[0] is 42 |
| 216 PASS foo(42).length is 1 |
| 217 PASS foo(42, 23)[1] is 23 |
| 218 PASS foo(42)[0] is 42 |
| 219 PASS foo(42).length is 1 |
| 220 PASS foo(42, 23)[1] is 23 |
| 221 PASS foo(42)[0] is 42 |
| 222 PASS foo(42).length is 1 |
| 223 PASS foo(42, 23)[1] is 23 |
| 224 PASS foo(42)[0] is 42 |
| 225 PASS foo(42).length is 1 |
| 226 PASS foo(42, 23)[1] is 23 |
| 227 PASS foo(42)[0] is 42 |
| 228 PASS foo(42).length is 1 |
| 229 PASS foo(42, 23)[1] is 23 |
| 230 PASS foo(42)[0] is 42 |
| 231 PASS foo(42).length is 1 |
| 232 PASS foo(42, 23)[1] is 23 |
| 233 PASS foo(42)[0] is 42 |
| 234 PASS foo(42).length is 1 |
| 235 PASS foo(42, 23)[1] is 23 |
| 236 PASS foo(42)[0] is 42 |
| 237 PASS foo(42).length is 1 |
| 238 PASS foo(42, 23)[1] is 23 |
| 239 PASS foo(42)[0] is 42 |
| 240 PASS foo(42).length is 1 |
| 241 PASS foo(42, 23)[1] is 23 |
| 242 PASS foo(42)[0] is 42 |
| 243 PASS foo(42).length is 1 |
| 244 PASS foo(42, 23)[1] is 23 |
| 245 PASS foo(42)[0] is 42 |
| 246 PASS foo(42).length is 1 |
| 247 PASS foo(42, 23)[1] is 23 |
| 248 PASS foo(42)[0] is 42 |
| 249 PASS foo(42).length is 1 |
| 250 PASS foo(42, 23)[1] is 23 |
| 251 PASS foo(42)[0] is 42 |
| 252 PASS foo(42).length is 1 |
| 253 PASS foo(42, 23)[1] is 23 |
| 254 PASS foo(42)[0] is 42 |
| 255 PASS foo(42).length is 1 |
| 256 PASS foo(42, 23)[1] is 23 |
| 257 PASS foo(42)[0] is 42 |
| 258 PASS foo(42).length is 1 |
| 259 PASS foo(42, 23)[1] is 23 |
| 260 PASS foo(42)[0] is 42 |
| 261 PASS foo(42).length is 1 |
| 262 PASS foo(42, 23)[1] is 23 |
| 263 PASS foo(42)[0] is 42 |
| 264 PASS foo(42).length is 1 |
| 265 PASS foo(42, 23)[1] is 23 |
| 266 PASS foo(42)[0] is 42 |
| 267 PASS foo(42).length is 1 |
| 268 PASS foo(42, 23)[1] is 23 |
| 269 PASS foo(42)[0] is 42 |
| 270 PASS foo(42).length is 1 |
| 271 PASS foo(42, 23)[1] is 23 |
| 272 PASS foo(42)[0] is 42 |
| 273 PASS foo(42).length is 1 |
| 274 PASS foo(42, 23)[1] is 23 |
| 275 PASS foo(42)[0] is 42 |
| 276 PASS foo(42).length is 1 |
| 277 PASS foo(42, 23)[1] is 23 |
| 278 PASS foo(42)[0] is 42 |
| 279 PASS foo(42).length is 1 |
| 280 PASS foo(42, 23)[1] is 23 |
| 281 PASS foo(42)[0] is 42 |
| 282 PASS foo(42).length is 1 |
| 283 PASS foo(42, 23)[1] is 23 |
| 284 PASS foo(42)[0] is 42 |
| 285 PASS foo(42).length is 1 |
| 286 PASS foo(42, 23)[1] is 23 |
| 287 PASS foo(42)[0] is 42 |
| 288 PASS foo(42).length is 1 |
| 289 PASS foo(42, 23)[1] is 23 |
| 290 PASS foo(42)[0] is 42 |
| 291 PASS foo(42).length is 1 |
| 292 PASS foo(42, 23)[1] is 23 |
| 293 PASS foo(42)[0] is 42 |
| 294 PASS foo(42).length is 1 |
| 295 PASS foo(42, 23)[1] is 23 |
| 296 PASS foo(42)[0] is 42 |
| 297 PASS foo(42).length is 1 |
| 298 PASS foo(42, 23)[1] is 23 |
| 299 PASS foo(42)[0] is 42 |
| 300 PASS foo(42).length is 1 |
| 301 PASS foo(42, 23)[1] is 23 |
| 302 PASS foo(42)[0] is 42 |
| 303 PASS foo(42).length is 1 |
| 304 PASS foo(42, 23)[1] is 23 |
| 305 PASS foo(42)[0] is 42 |
| 306 PASS foo(42).length is 1 |
| 307 PASS foo(42, 23)[1] is 23 |
| 308 PASS foo(42)[0] is 42 |
| 309 PASS foo(42).length is 1 |
| 310 PASS foo(42, 23)[1] is 23 |
| 311 PASS foo(42)[0] is 42 |
| 312 PASS foo(42).length is 1 |
| 313 PASS foo(42, 23)[1] is 23 |
| 314 PASS foo(42)[0] is 42 |
| 315 PASS foo(42).length is 1 |
| 316 PASS foo(42, 23)[1] is 23 |
| 317 PASS foo(42)[0] is 42 |
| 318 PASS foo(42).length is 1 |
| 319 PASS foo(42, 23)[1] is 23 |
| 320 PASS foo(42)[0] is 42 |
| 321 PASS foo(42).length is 1 |
| 322 PASS foo(42, 23)[1] is 23 |
| 323 PASS foo(42)[0] is 42 |
| 324 PASS foo(42).length is 1 |
| 325 PASS foo(42, 23)[1] is 23 |
| 326 PASS foo(42)[0] is 42 |
| 327 PASS foo(42).length is 1 |
| 328 PASS foo(42, 23)[1] is 23 |
| 329 PASS successfullyParsed is true |
| 330 |
| 331 TEST COMPLETE |
| 332 |
OLD | NEW |