/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Expressions/ |
instanceof-002.js | 38 object = object.__proto__; 76 "pat.__proto__ == Engineer.prototype", 78 pat.__proto__ == Engineer.prototype ); 81 "pat.__proto__.__proto__ == WorkerBee.prototype", 83 pat.__proto__.__proto__ == WorkerBee.prototype ); 86 "pat.__proto__.__proto__.__proto__ == Employee.prototype" [all...] |
instanceof-001.js | 37 Gen3.__proto__.toString = new Function( "return \"(\"+this.name+\" object)\""); 92 // __proto__ of RelationalExpression is null. should return false 94 genA.__proto__ = null; 98 // RelationalExpression.__proto__ == (but not ===) Identifier.prototype 105 // RelationalExpression.__proto__.__proto__ === Identifier.prototype
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/NativeObjects/ |
15-1.js | 53 array[item++] = new TestCase( SECTION, "Function.prototype.__proto__", Object.prototype, Function.prototype.__proto__ ); 54 array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ ); 55 array[item++] = new TestCase( SECTION, "String.prototype.__proto__", Object.prototype, String.prototype.__proto__ ); 56 array[item++] = new TestCase( SECTION, "Boolean.prototype.__proto__", Object.prototype, Boolean.prototype.__proto__ ); 57 array[item++] = new TestCase( SECTION, "Number.prototype.__proto__", Object.prototype, Number.prototype.__proto__ ); [all...] |
15-2.js | 32 That is, the __proto__ property of builtin functions and 52 array[item++] = new TestCase( SECTION, "Object.__proto__", Function.prototype, Object.__proto__ ); 53 array[item++] = new TestCase( SECTION, "Array.__proto__", Function.prototype, Array.__proto__ ); 54 array[item++] = new TestCase( SECTION, "String.__proto__", Function.prototype, String.__proto__ ); 55 array[item++] = new TestCase( SECTION, "Boolean.__proto__", Function.prototype, Boolean.__proto__ ); 56 array[item++] = new TestCase( SECTION, "Number.__proto__", Function.prototype, Number.__proto__ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_10.js | 53 object = object.__proto__; 103 "pat.__proto__ == Engineer.prototype", 105 pat.__proto__ == Engineer.prototype ); 108 "pat.__proto__.__proto__ == WorkerBee.prototype", 110 pat.__proto__.__proto__ == WorkerBee.prototype ); 113 "pat.__proto__.__proto__.__proto__ == Employee.prototype" [all...] |
proto_2.js | 97 "employee.__proto__ == Employee.prototype", 99 employee.__proto__ == Employee.prototype ); 102 "manager.__proto__ == Manager.prototype", 104 manager.__proto__ == Manager.prototype ); 107 "workerbee.__proto__ == WorkerBee.prototype", 109 workerbee.__proto__ == WorkerBee.prototype ); 112 "salesperson.__proto__ == SalesPerson.prototype", 114 salesperson.__proto__ == SalesPerson.prototype ); 117 "engineer.__proto__ == Engineer.prototype", 119 engineer.__proto__ == Engineer.prototype ) [all...] |
/cts/tests/tests/webkitsecurity/assets/ |
window-custom-prototype-crash.html | 7 window.__proto__ = newPrototype;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/TypeConversion/ |
9.9-1.js | 57 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 61 array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Object(true)).__proto__ ); 65 array[item++] = new TestCase( SECTION, "(Object(0)).__proto__", Number.prototype, (Object(0)).__proto__ ); 69 array[item++] = new TestCase( SECTION, "(Object(-0)).__proto__", Number.prototype, (Object(-0)).__proto__ ); 73 array[item++] = new TestCase( SECTION, "(Object(1)).__proto__", Number.prototype, (Object(1)).__proto__ ); [all...] |
/external/v8/test/mjsunit/regress/ |
regress-186.js | 28 // Make sure that eval can introduce a local variable called __proto__. 42 // Add property called __proto__ to the extension object. 43 eval("var __proto__ = o"); 47 assertEquals(o, eval("__proto__")); 51 // Add const property called __proto__ to the extension object. 52 eval("const __proto__ = o"); 56 assertEquals(o, eval("__proto__")); 60 // Assign to the global __proto__ property. 61 eval("__proto__ = o"); 66 assertEquals(o, eval("__proto__")); [all...] |
regress-1199637.js | 37 %SetProperty(this.__proto__, "a", 1234, NONE); 42 %SetProperty(this.__proto__, "b", 1234, NONE); 47 %SetProperty(this.__proto__, "c", 1234, READ_ONLY); 52 %SetProperty(this.__proto__, "d", 1234, READ_ONLY); 58 %SetProperty(this.__proto__, "x", 1234, NONE); 63 %SetProperty(this.__proto__, "y", 1234, NONE); 68 %SetProperty(this.__proto__, "z", 1234, READ_ONLY); 73 %SetProperty(this.__proto__, "w", 1234, READ_ONLY);
|
regress-1403.js | 31 Object.prototype.__proto__ = { __proto__: null }; 35 Array.prototype.__proto__ = { __proto__: null };
|
regress-1151.js | 31 __defineSetter__.__proto__ = function() {}; 34 eval.__proto__ = function () { }; 38 // on the actual prototype set using __proto__ on objects that has the 42 __defineGetter__.__proto__ = f;
|
/external/webkit/Source/WebCore/manual-tests/inspector-wrappers/ |
console-alert-object.html | 6 msg.__proto__.toString = doAttack;
|
console-str-alert-object.html | 7 msg.__proto__.toString = doAttack;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.4.js | 52 // array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ ); 53 // array[item++] = new TestCase( SECTION, "Array.__proto__.valueOf == Object.__proto__.valueOf", true, (Array.__proto__.valueOf == Object.__proto__.valueOf) );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Scope/ |
scope-001.js | 24 * obj.__proto__ = this, 'five' should become a read-only propery of obj. 26 * If we then change obj.__proto__ to null, obj.five should initially be 31 * obj.__proto__ had been set to the global object and then to null. 35 var status = 'Testing scope after changing obj.__proto__'; 54 status= 'Step 1: setting obj.__proto__ = global object'; 55 obj.__proto__ = this; 68 status= 'Step 2: setting obj.__proto__ = null'; 69 obj.__proto__ = null; 82 status= 'Step 3: setting obj.__proto__ to global object again'; 83 obj.__proto__ = this [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.7-3.js | 73 "var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 0 )", 75 eval("var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 0 )") ); 78 "var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 1 )", 80 eval("var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 1 )") ); 83 "var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 2 )", 85 eval("var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 2 )") ); 88 "var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 10 )", 90 eval("var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r', 10 )") ); 93 "var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r' )", 95 eval("var b = true; b.__proto__.lastIndexOf = String.prototype.lastIndexOf; b.lastIndexOf('r' )") ) [all...] |
/external/v8/test/mjsunit/ |
try-catch-extension-object.js | 29 // objects so that __proto__ accessors and accessor setters in the 43 } catch(__proto__) { 44 assertEquals(42, __proto__);
|
setter-on-constructor-prototype.js | 50 C2.prototype.__proto__ = { set x(value) { this.y = 23; } }; 52 %ToFastProperties(C2.prototype.__proto__) 82 C4.prototype.__proto__ = { }; 83 C4.prototype.__proto__.__defineSetter__('x', function(value) { this.y = 23; }); 85 %ToFastProperties(C4.prototype.__proto__);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Math/ |
15.8-1.js | 62 "Math.__proto__ == Object.prototype", 64 Math.__proto__ == Object.prototype ); 67 "Math.__proto__", 69 Math.__proto__ );
|
/external/chromium/chrome/browser/resources/options/ |
autofill_options_list.js | 21 el.__proto__ = AddressListItem.prototype; 28 __proto__: DeletableItem.prototype, 54 el.__proto__ = CreditCardListItem.prototype; 61 __proto__: DeletableItem.prototype, 92 el.__proto__ = ValuesListItem.prototype; 99 __proto__: InlineEditableItem.prototype, 147 el.__proto__ = ValuesAddRowListItem.prototype; 154 __proto__: ValuesListItem.prototype, 193 __proto__: DeletableItemList.prototype, 233 __proto__: DeletableItemList.prototype [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/RegExp/ |
constructor-001.js | 30 "new RegExp().__proto__", 32 re.__proto__
|
function-001.js | 30 "new RegExp().__proto__", 32 re.__proto__
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4.js | 66 // The __proto__ property cannot be used in ECMA_1 tests. 67 // array[item++] = new TestCase( SECTION, "Number.prototype.__proto__", Object.prototype, Number.prototype.__proto__ ); 68 // array[item++] = new TestCase( SECTION, "Number.prototype.__proto__ == Object.prototype", true, Number.prototype.__proto__ == Object.prototype );
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ResourceView.js | 44 WebInspector.ResourceView.prototype.__proto__ = WebInspector.View.prototype; 71 return resourceView.__proto__ === WebInspector.ResourceSourceFrame.prototype; 73 return resourceView.__proto__ === WebInspector.ImageView.prototype; 75 return resourceView.__proto__ === WebInspector.FontView.prototype; 77 return resourceView.__proto__ === WebInspector.ResourceView.prototype; 180 WebInspector.ResourceSourceFrame.prototype.__proto__ = WebInspector.SourceFrame.prototype; 210 WebInspector.RevisionSourceFrame.prototype.__proto__ = WebInspector.SourceFrame.prototype;
|