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