| OLD | NEW |
| 1 // Copyright 2008 the V8 project authors. All rights reserved. | 1 // Copyright 2008 the V8 project authors. All rights reserved. |
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 4 // met: | 4 // met: |
| 5 // | 5 // |
| 6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 | 96 |
| 97 var expected = ['23', '42', // indexed from 'o' | 97 var expected = ['23', '42', // indexed from 'o' |
| 98 '-23', '300000000000', 'f', 'g', '-4', // named from 'o' | 98 '-23', '300000000000', 'f', 'g', '-4', // named from 'o' |
| 99 '3', '5', // indexed from 'proto1' | 99 '3', '5', // indexed from 'proto1' |
| 100 'd', 'e', // named from 'proto1' | 100 'd', 'e', // named from 'proto1' |
| 101 '2', '140000', '4294967295', // indexed from 'proto2' | 101 '2', '140000', '4294967295', // indexed from 'proto2' |
| 102 'a', 'b', 'c', '4294967296']; // named from 'proto2' | 102 'a', 'b', 'c', '4294967296']; // named from 'proto2' |
| 103 var actual = []; | 103 var actual = []; |
| 104 for (var p in o) actual.push(p); | 104 for (var p in o) actual.push(p); |
| 105 assertArrayEquals(expected, actual); | 105 assertArrayEquals(expected, actual); |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| OLD | NEW |