OLD | NEW |
1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 the V8 project authors. All rights reserved. |
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 # | 3 # |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions | 5 # modification, are permitted provided that the following conditions |
6 # are met: | 6 # are met: |
7 # 1. Redistributions of source code must retain the above copyright | 7 # 1. Redistributions of source code must retain the above copyright |
8 # notice, this list of conditions and the following disclaimer. | 8 # notice, this list of conditions and the following disclaimer. |
9 # 2. Redistributions in binary form must reproduce the above copyright | 9 # 2. Redistributions in binary form must reproduce the above copyright |
10 # notice, this list of conditions and the following disclaimer in the | 10 # notice, this list of conditions and the following disclaimer in the |
11 # documentation and/or other materials provided with the distribution. | 11 # documentation and/or other materials provided with the distribution. |
12 # | 12 # |
13 # THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY | 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 | 14 # EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
15 # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | 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 | 16 # DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY |
17 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | 17 # DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
18 # (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | 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 | 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 | 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 | 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. | 22 # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
23 | 23 |
24 Tests that defining a setter on the Array prototype works. | 24 Tests that defining a setter on the Array prototype works. |
25 | 25 |
26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 26 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
27 | 27 |
28 | 28 |
29 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 29 PASS "0,1,2,,4" is "0,1,2,,4" |
30 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 30 PASS "0,1,2,,4" is "0,1,2,,4" |
31 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 31 PASS "0,1,2,,4" is "0,1,2,,4" |
32 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 32 PASS "0,1,2,,4" is "0,1,2,,4" |
33 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 33 PASS "0,1,2,,4" is "0,1,2,,4" |
34 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 34 PASS "0,1,2,,4" is "0,1,2,,4" |
35 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 35 PASS "0,1,2,,4" is "0,1,2,,4" |
36 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 36 PASS "0,1,2,,4" is "0,1,2,,4" |
37 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 37 PASS "0,1,2,,4" is "0,1,2,,4" |
38 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 38 PASS "0,1,2,,4" is "0,1,2,,4" |
39 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 39 PASS "0,1,2,,4" is "0,1,2,,4" |
40 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 40 PASS "0,1,2,,4" is "0,1,2,,4" |
41 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 41 PASS "0,1,2,,4" is "0,1,2,,4" |
42 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 42 PASS "0,1,2,,4" is "0,1,2,,4" |
43 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 43 PASS "0,1,2,,4" is "0,1,2,,4" |
44 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 44 PASS "0,1,2,,4" is "0,1,2,,4" |
45 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 45 PASS "0,1,2,,4" is "0,1,2,,4" |
46 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 46 PASS "0,1,2,,4" is "0,1,2,,4" |
47 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 47 PASS "0,1,2,,4" is "0,1,2,,4" |
48 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 48 PASS "0,1,2,,4" is "0,1,2,,4" |
49 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 49 PASS "0,1,2,,4" is "0,1,2,,4" |
50 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 50 PASS "0,1,2,,4" is "0,1,2,,4" |
51 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 51 PASS "0,1,2,,4" is "0,1,2,,4" |
52 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 52 PASS "0,1,2,,4" is "0,1,2,,4" |
53 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 53 PASS "0,1,2,,4" is "0,1,2,,4" |
54 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 54 PASS "0,1,2,,4" is "0,1,2,,4" |
55 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 55 PASS "0,1,2,,4" is "0,1,2,,4" |
56 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 56 PASS "0,1,2,,4" is "0,1,2,,4" |
57 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 57 PASS "0,1,2,,4" is "0,1,2,,4" |
58 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 58 PASS "0,1,2,,4" is "0,1,2,,4" |
59 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 59 PASS "0,1,2,,4" is "0,1,2,,4" |
60 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 60 PASS "0,1,2,,4" is "0,1,2,,4" |
61 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 61 PASS "0,1,2,,4" is "0,1,2,,4" |
62 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 62 PASS "0,1,2,,4" is "0,1,2,,4" |
63 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 63 PASS "0,1,2,,4" is "0,1,2,,4" |
64 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 64 PASS "0,1,2,,4" is "0,1,2,,4" |
65 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 65 PASS "0,1,2,,4" is "0,1,2,,4" |
66 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 66 PASS "0,1,2,,4" is "0,1,2,,4" |
67 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 67 PASS "0,1,2,,4" is "0,1,2,,4" |
68 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 68 PASS "0,1,2,,4" is "0,1,2,,4" |
69 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 69 PASS "0,1,2,,4" is "0,1,2,,4" |
70 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 70 PASS "0,1,2,,4" is "0,1,2,,4" |
71 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 71 PASS "0,1,2,,4" is "0,1,2,,4" |
72 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 72 PASS "0,1,2,,4" is "0,1,2,,4" |
73 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 73 PASS "0,1,2,,4" is "0,1,2,,4" |
74 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 74 PASS "0,1,2,,4" is "0,1,2,,4" |
75 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 75 PASS "0,1,2,,4" is "0,1,2,,4" |
76 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 76 PASS "0,1,2,,4" is "0,1,2,,4" |
77 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 77 PASS "0,1,2,,4" is "0,1,2,,4" |
78 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 78 PASS "0,1,2,,4" is "0,1,2,,4" |
79 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 79 PASS "0,1,2,,4" is "0,1,2,,4" |
80 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 80 PASS "0,1,2,,4" is "0,1,2,,4" |
81 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 81 PASS "0,1,2,,4" is "0,1,2,,4" |
82 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 82 PASS "0,1,2,,4" is "0,1,2,,4" |
83 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 83 PASS "0,1,2,,4" is "0,1,2,,4" |
84 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 84 PASS "0,1,2,,4" is "0,1,2,,4" |
85 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 85 PASS "0,1,2,,4" is "0,1,2,,4" |
86 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 86 PASS "0,1,2,,4" is "0,1,2,,4" |
87 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 87 PASS "0,1,2,,4" is "0,1,2,,4" |
88 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 88 PASS "0,1,2,,4" is "0,1,2,,4" |
89 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 89 PASS "0,1,2,,4" is "0,1,2,,4" |
90 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 90 PASS "0,1,2,,4" is "0,1,2,,4" |
91 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 91 PASS "0,1,2,,4" is "0,1,2,,4" |
92 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 92 PASS "0,1,2,,4" is "0,1,2,,4" |
93 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 93 PASS "0,1,2,,4" is "0,1,2,,4" |
94 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 94 PASS "0,1,2,,4" is "0,1,2,,4" |
95 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 95 PASS "0,1,2,,4" is "0,1,2,,4" |
96 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 96 PASS "0,1,2,,4" is "0,1,2,,4" |
97 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 97 PASS "0,1,2,,4" is "0,1,2,,4" |
98 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 98 PASS "0,1,2,,4" is "0,1,2,,4" |
99 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 99 PASS "0,1,2,,4" is "0,1,2,,4" |
100 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 100 PASS "0,1,2,,4" is "0,1,2,,4" |
101 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 101 PASS "0,1,2,,4" is "0,1,2,,4" |
102 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 102 PASS "0,1,2,,4" is "0,1,2,,4" |
103 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 103 PASS "0,1,2,,4" is "0,1,2,,4" |
104 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 104 PASS "0,1,2,,4" is "0,1,2,,4" |
105 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 105 PASS "0,1,2,,4" is "0,1,2,,4" |
106 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 106 PASS "0,1,2,,4" is "0,1,2,,4" |
107 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 107 PASS "0,1,2,,4" is "0,1,2,,4" |
108 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 108 PASS "0,1,2,,4" is "0,1,2,,4" |
109 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 109 PASS "0,1,2,,4" is "0,1,2,,4" |
110 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 110 PASS "0,1,2,,4" is "0,1,2,,4" |
111 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 111 PASS "0,1,2,,4" is "0,1,2,,4" |
112 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 112 PASS "0,1,2,,4" is "0,1,2,,4" |
113 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 113 PASS "0,1,2,,4" is "0,1,2,,4" |
114 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 114 PASS "0,1,2,,4" is "0,1,2,,4" |
115 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 115 PASS "0,1,2,,4" is "0,1,2,,4" |
116 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 116 PASS "0,1,2,,4" is "0,1,2,,4" |
117 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 117 PASS "0,1,2,,4" is "0,1,2,,4" |
118 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 118 PASS "0,1,2,,4" is "0,1,2,,4" |
119 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 119 PASS "0,1,2,,4" is "0,1,2,,4" |
120 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 120 PASS "0,1,2,,4" is "0,1,2,,4" |
121 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 121 PASS "0,1,2,,4" is "0,1,2,,4" |
122 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 122 PASS "0,1,2,,4" is "0,1,2,,4" |
123 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 123 PASS "0,1,2,,4" is "0,1,2,,4" |
124 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 124 PASS "0,1,2,,4" is "0,1,2,,4" |
125 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 125 PASS "0,1,2,,4" is "0,1,2,,4" |
126 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 126 PASS "0,1,2,,4" is "0,1,2,,4" |
127 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 127 PASS "0,1,2,,4" is "0,1,2,,4" |
128 FAIL "0,1,2,3,4" should be 0,1,2,,4. Was 0,1,2,3,4. | 128 PASS "0,1,2,,4" is "0,1,2,,4" |
129 FAIL ouches should be 100. Was 0. | 129 PASS ouches is 100 |
130 PASS successfullyParsed is true | 130 PASS successfullyParsed is true |
131 | 131 |
132 TEST COMPLETE | 132 TEST COMPLETE |
133 | |
OLD | NEW |