/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_9.js | 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the 57 WorkerBee.prototype = new Employee(); 74 Employee.prototype.specialty = "none"; 75 Employee.prototype.name = "Unknown"; 77 Array.prototype.getClass = Object.prototype.toString;
|
proto_4.js | 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the 35 If you add a property to an object in the prototype chain, instances of 36 objects that derive from that prototype should inherit that property, even 37 if they were instatiated after the property was added to the prototype object. 46 var TITLE = "Adding properties to the prototype"; 60 Manager.prototype = new Employee(); 66 WorkerBee.prototype = new Employee(); 72 SalesPerson.prototype = new WorkerBee(); 78 Engineer.prototype = new WorkerBee(); 99 Employee.prototype.specialty = "none" [all...] |
proto_5.js | 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the 57 Manager.prototype = new Employee(); 62 WorkerBee.prototype = new Employee(); 68 SalesPerson.prototype = new WorkerBee(); 74 Engineer.prototype = new WorkerBee(); 116 "pat.__proto__ == Engineer.prototype", 118 pat.__proto__ == Engineer.prototype ); 141 "les.__proto__ == Engineer.prototype", 143 les.__proto__ == Engineer.prototype );
|
/external/webkit/Source/WebCore/inspector/front-end/ |
ConsolePanel.js | 34 WebInspector.ConsolePanel.prototype = { 42 WebInspector.Panel.prototype.show.call(this); 64 WebInspector.Panel.prototype.hide.call(this); 86 WebInspector.ConsolePanel.prototype.__proto__ = WebInspector.Panel.prototype;
|
ResourceCookiesView.js | 42 WebInspector.ResourceCookiesView.prototype = { 52 WebInspector.View.prototype.show.call(this, parentElement); 66 WebInspector.View.prototype.show.call(this, parentElement); 71 WebInspector.ResourceCookiesView.prototype.__proto__ = WebInspector.View.prototype;
|
TestController.js | 35 WebInspector.TestController.prototype = { 54 WebInspector.TestController.prototype.notifyDone(callId, result); 56 WebInspector.testController.prototype.notifyDone(callId, e.toString());
|
View.js | 32 WebInspector.View.prototype = { 74 WebInspector.View.prototype.__proto__ = WebInspector.Object.prototype;
|
AuditCategories.js | 37 WebInspector.AuditCategories.PagePerformance.prototype = { 46 WebInspector.AuditCategories.PagePerformance.prototype.__proto__ = WebInspector.AuditCategory.prototype; 54 WebInspector.AuditCategories.NetworkUtilization.prototype = { 70 WebInspector.AuditCategories.NetworkUtilization.prototype.__proto__ = WebInspector.AuditCategory.prototype;
|
SourceCSSTokenizer.re2js | 123 WebInspector.SourceCSSTokenizer.prototype = { 268 WebInspector.SourceCSSTokenizer.prototype.__proto__ = WebInspector.SourceTokenizer.prototype;
|
/external/chromium/chrome/browser/resources/net_internals/ |
view.js | 18 View.prototype.setGeometry = function(left, top, width, height) { 28 View.prototype.show = function(isVisible) { 32 View.prototype.isVisible = function() { 42 View.prototype.isActive = function() { 46 View.prototype.getLeft = function() { 50 View.prototype.getTop = function() { 54 View.prototype.getWidth = function() { 58 View.prototype.getHeight = function() { 62 View.prototype.getRight = function() { 66 View.prototype.getBottom = function() [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
15.6.4-1.js | 24 ECMA Section: 15.6.4 Properties of the Boolean Prototype Object 27 The Boolean prototype object is itself a Boolean object (its [[Class]] is 30 The value of the internal [[Prototype]] property of the Boolean prototype object 31 is the Object prototype object (15.2.3.1). 43 writeHeaderToLog( SECTION + " Properties of the Boolean Prototype Object"); 51 array[item++] = new TestCase( SECTION, "typeof Boolean.prototype == typeof( new Boolean )", true, typeof Boolean.prototype == typeof( new Boolean ) ); 52 array[item++] = new TestCase( SECTION, "typeof( Boolean.prototype )", "object", typeof(Boolean.prototype) ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.1.1-2.js | 58 myfunc1.toString = Object.prototype.toString; 59 myfunc2.toString = Object.prototype.toString; 60 myfunc3.toString = Object.prototype.toString; 62 array[item++] = new TestCase( SECTION, "myfunc1 = Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 67 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() ); 69 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor ); 72 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS", 74 eval("var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS") ) [all...] |
15.3.2.1-2.js | 51 myfunc1.toString = Object.prototype.toString; 52 myfunc2.toString = Object.prototype.toString; 53 myfunc3.toString = Object.prototype.toString; 55 array[item++] = new TestCase( SECTION, "myfunc1 = new Function('a','b','c'); myfunc.toString = Object.prototype.toString; myfunc.toString()", 60 array[item++] = new TestCase( SECTION, "myfunc1.prototype.toString()", "[object Object]", myfunc1.prototype.toString() ); 62 array[item++] = new TestCase( SECTION, "myfunc1.prototype.constructor", myfunc1, myfunc1.prototype.constructor ); 65 array[item++] = new TestCase( SECTION, "var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS", 67 eval("var MYPROPS = ''; for ( var p in myfunc1.prototype ) { MYPROPS += p; }; MYPROPS") ) [all...] |
15.3.1.1-1.js | 55 myfunc.toString = Object.prototype.toString; 60 myfunc.toString = Object.prototype.toString; 62 "myfunc = Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()", 66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() ); 67 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 71 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object Object]", eval("OBJ.toString = Object.prototype.toString; OBJ.toString()") ); 72 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototy (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.4-1.js | 24 ECMA Section: 15.7.4.1 Properties of the Number Prototype Object 34 writeHeaderToLog( SECTION + "Properties of the Number prototype object"); 45 array[item++] = new TestCase(SECTION, "Number.prototype.valueOf()", 0, Number.prototype.valueOf() ); 46 array[item++] = new TestCase(SECTION, "typeof(Number.prototype)", "object", typeof(Number.prototype) ); 47 array[item++] = new TestCase(SECTION, "Number.prototype.constructor == Number", true, Number.prototype.constructor == Number ); 48 // array[item++] = new TestCase(SECTION, "Number.prototype == Number.__proto__", true, Number.prototype == Number.__proto__ ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/GetSet/ |
getset-001.js | 30 TestObject.prototype._y = "<initial y>"; 32 TestObject.prototype.y getter = 45 TestObject.prototype.y setter = 58 reportCompare ("<initial y>", t._y, "y prototype check");
|
/external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/ |
WebInspectorShims.js | 31 return String.vsprintf(string, Array.prototype.slice.call(arguments, 1)); 53 var originalGetter = WebInspector.ProfileDataGridNode.prototype.__lookupGetter__("data"); 54 WebInspector.ProfileDataGridNode.prototype.__defineGetter__("data", function() {
|
/external/chromium/chrome/browser/debugger/manual_tests/resources/ |
primes.js | 5 Primes.prototype.test = function(p) {
|
/external/v8/test/mjsunit/ |
array-shift.js | 35 // Now check the case with array of holes and some elements on prototype. 39 Array.prototype[3] = "@3"; 40 Array.prototype[7] = "@7"; 44 assertEquals(array[i], Array.prototype[i]); 50 // Note that shift copies values from prototype into the array. 51 assertEquals(array[2], Array.prototype[3]); 54 assertEquals(array[6], Array.prototype[7]); 58 Array.prototype[5] = "@5"; 59 assertEquals(array[5], Array.prototype[5]); 62 assertEquals(array[3], Array.prototype[3]) [all...] |
/external/webkit/Source/JavaScriptCore/runtime/ |
BooleanObject.h | 34 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 36 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
DatePrototype.h | 39 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 41 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
ErrorInstance.h | 32 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 34 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
JSONObject.h | 39 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 41 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
NativeErrorConstructor.h | 38 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 40 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
ObjectConstructor.h | 39 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 41 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|