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 defining a setter on the Array prototype works. 25 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 27 28 29 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 30 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 31 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 32 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 33 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 34 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 35 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 36 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 37 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 38 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 39 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 40 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 41 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 42 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 43 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 44 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 45 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 46 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 47 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 48 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 49 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 50 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 51 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 52 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 53 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 54 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 55 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 56 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 57 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 58 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 59 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 60 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 61 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 62 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 63 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 64 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 65 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 66 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 67 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 68 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 69 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 70 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 71 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 72 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 73 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 74 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 75 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 76 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 77 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 78 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 79 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 80 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 81 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 82 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 83 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 84 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 85 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 86 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 87 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 88 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 89 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 90 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 91 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 92 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 93 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 94 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 95 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 96 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 97 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 98 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 99 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 100 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 101 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 102 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 103 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 104 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 105 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 106 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 107 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 108 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 109 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 110 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 111 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 112 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 113 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 114 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 115 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 116 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 117 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 118 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 119 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 120 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 121 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 122 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 123 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 124 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 125 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 126 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 127 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 128 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. 129 FAIL ouches should be 100. Was 0. 130 PASS successfullyParsed is true 131 132 TEST COMPLETE 133 134