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 Arraify does good things when Object.preventExtensions() has been called. 25 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29 PASS foo(o) is void 0 30 PASS foo(o) is void 0 31 PASS foo(o) is void 0 32 PASS foo(o) is void 0 33 PASS foo(o) is void 0 34 PASS foo(o) is void 0 35 PASS foo(o) is void 0 36 PASS foo(o) is void 0 37 PASS foo(o) is void 0 38 PASS foo(o) is void 0 39 PASS foo(o) is void 0 40 PASS foo(o) is void 0 41 PASS foo(o) is void 0 42 PASS foo(o) is void 0 43 PASS foo(o) is void 0 44 PASS foo(o) is void 0 45 PASS foo(o) is void 0 46 PASS foo(o) is void 0 47 PASS foo(o) is void 0 48 PASS foo(o) is void 0 49 PASS foo(o) is void 0 50 PASS foo(o) is void 0 51 PASS foo(o) is void 0 52 PASS foo(o) is void 0 53 PASS foo(o) is void 0 54 PASS foo(o) is void 0 55 PASS foo(o) is void 0 56 PASS foo(o) is void 0 57 PASS foo(o) is void 0 58 PASS foo(o) is void 0 59 PASS foo(o) is void 0 60 PASS foo(o) is void 0 61 PASS foo(o) is void 0 62 PASS foo(o) is void 0 63 PASS foo(o) is void 0 64 PASS foo(o) is void 0 65 PASS foo(o) is void 0 66 PASS foo(o) is void 0 67 PASS foo(o) is void 0 68 PASS foo(o) is void 0 69 PASS foo(o) is void 0 70 PASS foo(o) is void 0 71 PASS foo(o) is void 0 72 PASS foo(o) is void 0 73 PASS foo(o) is void 0 74 PASS foo(o) is void 0 75 PASS foo(o) is void 0 76 PASS foo(o) is void 0 77 PASS foo(o) is void 0 78 PASS foo(o) is void 0 79 PASS foo(o) is void 0 80 PASS foo(o) is void 0 81 PASS foo(o) is void 0 82 PASS foo(o) is void 0 83 PASS foo(o) is void 0 84 PASS foo(o) is void 0 85 PASS foo(o) is void 0 86 PASS foo(o) is void 0 87 PASS foo(o) is void 0 88 PASS foo(o) is void 0 89 PASS foo(o) is void 0 90 PASS foo(o) is void 0 91 PASS foo(o) is void 0 92 PASS foo(o) is void 0 93 PASS foo(o) is void 0 94 PASS foo(o) is void 0 95 PASS foo(o) is void 0 96 PASS foo(o) is void 0 97 PASS foo(o) is void 0 98 PASS foo(o) is void 0 99 PASS foo(o) is void 0 100 PASS foo(o) is void 0 101 PASS foo(o) is void 0 102 PASS foo(o) is void 0 103 PASS foo(o) is void 0 104 PASS foo(o) is void 0 105 PASS foo(o) is void 0 106 PASS foo(o) is void 0 107 PASS foo(o) is void 0 108 PASS foo(o) is void 0 109 PASS foo(o) is void 0 110 PASS foo(o) is void 0 111 PASS foo(o) is void 0 112 PASS foo(o) is void 0 113 PASS foo(o) is void 0 114 PASS foo(o) is void 0 115 PASS foo(o) is void 0 116 PASS foo(o) is void 0 117 PASS foo(o) is void 0 118 PASS foo(o) is void 0 119 PASS foo(o) is void 0 120 PASS foo(o) is void 0 121 PASS foo(o) is void 0 122 PASS foo(o) is void 0 123 PASS foo(o) is void 0 124 PASS foo(o) is void 0 125 PASS foo(o) is void 0 126 PASS foo(o) is void 0 127 PASS foo(o) is void 0 128 PASS foo(o) is void 0 129 PASS foo(o) is void 0 130 PASS foo(o) is void 0 131 PASS foo(o) is void 0 132 PASS foo(o) is void 0 133 PASS foo(o) is void 0 134 PASS foo(o) is void 0 135 PASS foo(o) is void 0 136 PASS foo(o) is void 0 137 PASS foo(o) is void 0 138 PASS foo(o) is void 0 139 PASS foo(o) is void 0 140 PASS foo(o) is void 0 141 PASS foo(o) is void 0 142 PASS foo(o) is void 0 143 PASS foo(o) is void 0 144 PASS foo(o) is void 0 145 PASS foo(o) is void 0 146 PASS foo(o) is void 0 147 PASS foo(o) is void 0 148 PASS foo(o) is void 0 149 PASS foo(o) is void 0 150 PASS foo(o) is void 0 151 PASS foo(o) is void 0 152 PASS foo(o) is void 0 153 PASS foo(o) is void 0 154 PASS foo(o) is void 0 155 PASS foo(o) is void 0 156 PASS foo(o) is void 0 157 PASS foo(o) is void 0 158 PASS foo(o) is void 0 159 PASS foo(o) is void 0 160 PASS foo(o) is void 0 161 PASS foo(o) is void 0 162 PASS foo(o) is void 0 163 PASS foo(o) is void 0 164 PASS foo(o) is void 0 165 PASS foo(o) is void 0 166 PASS foo(o) is void 0 167 PASS foo(o) is void 0 168 PASS foo(o) is void 0 169 PASS foo(o) is void 0 170 PASS foo(o) is void 0 171 PASS foo(o) is void 0 172 PASS foo(o) is void 0 173 PASS foo(o) is void 0 174 PASS foo(o) is void 0 175 PASS foo(o) is void 0 176 PASS foo(o) is void 0 177 PASS foo(o) is void 0 178 PASS foo(o) is void 0 179 PASS foo(o) is void 0 180 PASS foo(o) is void 0 181 PASS foo(o) is void 0 182 PASS foo(o) is void 0 183 PASS foo(o) is void 0 184 PASS foo(o) is void 0 185 PASS foo(o) is void 0 186 PASS foo(o) is void 0 187 PASS foo(o) is void 0 188 PASS foo(o) is void 0 189 PASS foo(o) is void 0 190 PASS foo(o) is void 0 191 PASS foo(o) is void 0 192 PASS foo(o) is void 0 193 PASS foo(o) is void 0 194 PASS foo(o) is void 0 195 PASS foo(o) is void 0 196 PASS foo(o) is void 0 197 PASS foo(o) is void 0 198 PASS foo(o) is void 0 199 PASS foo(o) is void 0 200 PASS foo(o) is void 0 201 PASS foo(o) is void 0 202 PASS foo(o) is void 0 203 PASS foo(o) is void 0 204 PASS foo(o) is void 0 205 PASS foo(o) is void 0 206 PASS foo(o) is void 0 207 PASS foo(o) is void 0 208 PASS foo(o) is void 0 209 PASS foo(o) is void 0 210 PASS foo(o) is void 0 211 PASS foo(o) is void 0 212 PASS foo(o) is void 0 213 PASS foo(o) is void 0 214 PASS foo(o) is void 0 215 PASS foo(o) is void 0 216 PASS foo(o) is void 0 217 PASS foo(o) is void 0 218 PASS foo(o) is void 0 219 PASS foo(o) is void 0 220 PASS foo(o) is void 0 221 PASS foo(o) is void 0 222 PASS foo(o) is void 0 223 PASS foo(o) is void 0 224 PASS foo(o) is void 0 225 PASS foo(o) is void 0 226 PASS foo(o) is void 0 227 PASS foo(o) is void 0 228 PASS foo(o) is void 0 229 PASS successfullyParsed is true 230 231 TEST COMPLETE 232 233