| 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 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 PASS (new String).__proto__ is String.prototype | 36 PASS (new String).__proto__ is String.prototype |
| 37 PASS Array.prototype.__proto__ is Object.prototype | 37 PASS Array.prototype.__proto__ is Object.prototype |
| 38 PASS Date.prototype.__proto__ is Object.prototype | 38 PASS Date.prototype.__proto__ is Object.prototype |
| 39 PASS Number.prototype.__proto__ is Object.prototype | 39 PASS Number.prototype.__proto__ is Object.prototype |
| 40 PASS Object.prototype.__proto__ is null | 40 PASS Object.prototype.__proto__ is null |
| 41 PASS String.prototype.__proto__ is Object.prototype | 41 PASS String.prototype.__proto__ is Object.prototype |
| 42 PASS Array.__proto__ is Object.__proto__ | 42 PASS Array.__proto__ is Object.__proto__ |
| 43 PASS Date.__proto__ is Object.__proto__ | 43 PASS Date.__proto__ is Object.__proto__ |
| 44 PASS Number.__proto__ is Object.__proto__ | 44 PASS Number.__proto__ is Object.__proto__ |
| 45 PASS String.__proto__ is Object.__proto__ | 45 PASS String.__proto__ is Object.__proto__ |
| 46 PASS Object.getPrototypeOf('') threw exception TypeError: Object.getPrototypeOf
called on non-object. | 46 PASS Object.getPrototypeOf('') is String.prototype |
| 47 PASS Object.getPrototypeOf(0) threw exception TypeError: Object.getPrototypeOf c
alled on non-object. | 47 PASS Object.getPrototypeOf(0) is Number.prototype |
| 48 PASS Object.getPrototypeOf([]) is Array.prototype | 48 PASS Object.getPrototypeOf([]) is Array.prototype |
| 49 PASS Object.getPrototypeOf({}) is Object.prototype | 49 PASS Object.getPrototypeOf({}) is Object.prototype |
| 50 PASS Object.getPrototypeOf(new Date) is Date.prototype | 50 PASS Object.getPrototypeOf(new Date) is Date.prototype |
| 51 PASS Object.getPrototypeOf(new Number) is Number.prototype | 51 PASS Object.getPrototypeOf(new Number) is Number.prototype |
| 52 PASS Object.getPrototypeOf(new Object) is Object.prototype | 52 PASS Object.getPrototypeOf(new Object) is Object.prototype |
| 53 PASS Object.getPrototypeOf(new String) is String.prototype | 53 PASS Object.getPrototypeOf(new String) is String.prototype |
| 54 PASS Object.getPrototypeOf(Array.prototype) is Object.prototype | 54 PASS Object.getPrototypeOf(Array.prototype) is Object.prototype |
| 55 PASS Object.getPrototypeOf(Date.prototype) is Object.prototype | 55 PASS Object.getPrototypeOf(Date.prototype) is Object.prototype |
| 56 PASS Object.getPrototypeOf(Number.prototype) is Object.prototype | 56 PASS Object.getPrototypeOf(Number.prototype) is Object.prototype |
| 57 PASS Object.getPrototypeOf(Object.prototype) is null | 57 PASS Object.getPrototypeOf(Object.prototype) is null |
| (...skipping 23 matching lines...) Expand all Loading... |
| 81 PASS var wasSet = false; var o = { }; Object.defineProperty(o, "__proto__", { "g
et": function() { wasSet = true } }); o.__proto__; wasSet; is true | 81 PASS var wasSet = false; var o = { }; Object.defineProperty(o, "__proto__", { "g
et": function() { wasSet = true } }); o.__proto__; wasSet; is true |
| 82 PASS var wasSet = false; var o = { }; Object.defineProperty(o, "__proto__", { "_
_proto__": function(x) { wasSet = true } }); o.__proto__ = {}; wasSet; is false | 82 PASS var wasSet = false; var o = { }; Object.defineProperty(o, "__proto__", { "_
_proto__": function(x) { wasSet = true } }); o.__proto__ = {}; wasSet; is false |
| 83 PASS var o = {}; o.__proto__ = { x:true }; o.x is true | 83 PASS var o = {}; o.__proto__ = { x:true }; o.x is true |
| 84 PASS var o = {}; o.__proto__ = { x:true }; o.hasOwnProperty('__proto__') is fals
e | 84 PASS var o = {}; o.__proto__ = { x:true }; o.hasOwnProperty('__proto__') is fals
e |
| 85 PASS var o = {}; o.__proto__ = { x:true }; o.x is undefined. | 85 PASS var o = {}; o.__proto__ = { x:true }; o.x is undefined. |
| 86 PASS var o = {}; o.__proto__ = { x:true }; o.hasOwnProperty('__proto__') is true | 86 PASS var o = {}; o.__proto__ = { x:true }; o.hasOwnProperty('__proto__') is true |
| 87 PASS successfullyParsed is true | 87 PASS successfullyParsed is true |
| 88 | 88 |
| 89 TEST COMPLETE | 89 TEST COMPLETE |
| 90 | 90 |
| OLD | NEW |