/external/webkit/Source/JavaScriptCore/runtime/ |
StringPrototype.h | 37 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 39 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/FunctionObjects/ |
call-1.js | 3 Section: Function.prototype.call 12 var TITLE = "Function.prototype.call"; 27 "ToString.call( Boolean, Boolean.prototype )", 29 ToString.call( Boolean, Boolean.prototype ) ); 32 "ToString.call( Boolean, Boolean.prototype.valueOf() )", 34 ToString.call( Boolean, Boolean.prototype.valueOf() ) );
|
/external/webkit/Source/WebCore/bindings/js/ |
JSAudioConstructor.h | 41 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 43 return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/webkit/Source/WebKit/mac/Plugins/Hosted/ |
ProxyRuntimeObject.h | 44 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 46 return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
JSNPMethod.h | 45 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 47 return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/v8/test/mjsunit/regress/ |
regress-1530.js | 28 // Test that redefining the 'prototype' property of a function object 34 // Verify that normal assignment of 'prototype' property works properly 37 f.prototype = x; 38 assertSame(f.prototype, x); 39 assertSame(f.prototype.foo, 'bar'); 42 assertSame(Object.getOwnPropertyDescriptor(f, 'prototype').value, x); 44 // Verify that 'prototype' behaves like a data property when it comes to 48 Object.defineProperty(f, 'prototype', { value: y, writable: true }); 49 assertSame(f.prototype, y); 50 assertSame(f.prototype.foo, 'baz') [all...] |
/external/webkit/Source/WebKit/chromium/src/js/ |
Tests.js | 59 TestSuite.prototype.fail = function(message) 74 TestSuite.prototype.assertEquals = function(expected, actual, opt_message) 89 TestSuite.prototype.assertTrue = function(value, opt_message) 100 TestSuite.prototype.assertContains = function(string, substring) 110 TestSuite.prototype.takeControl = function() 124 TestSuite.prototype.releaseControl = function() 137 TestSuite.prototype.reportOk_ = function() 146 TestSuite.prototype.reportFailure_ = function(error) 159 TestSuite.prototype.runTest = function(testName) 174 TestSuite.prototype.showPanel = function(panelName [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Array/ |
15.4.2.3.js | 25 Description: The [[Prototype]] property of the newly constructed 26 object is set to the origianl Array prototype object, 27 the one that is the initial value of Array.prototype. 51 "var arr = new Array(); arr.getClass = Object.prototype.toString; arr.getClass()", 53 eval("var arr = new Array(); arr.getClass = Object.prototype.toString; arr.getClass()") ); 56 array[item++] = new TestCase( SECTION, "(new Array()).toString == Array.prototype.toString", true, (new Array()).toString == Array.prototype.toString ); 57 array[item++] = new TestCase( SECTION, "(new Array()).join == Array.prototype.join", true, (new Array()).join == Array.prototype.join ); 58 array[item++] = new TestCase( SECTION, "(new Array()).reverse == Array.prototype.reverse", true, (new Array()).reverse == Array.prototype.reverse ) [all...] |
15.4.4.4-2.js | 24 ECMA Section: 15.4.4.3-1 Array.prototype.reverse() 64 Note: Array.prototype.reverse allows some flexibility in implementation 78 writeHeaderToLog( SECTION + " Array.prototype.reverse()"); 84 var ARR_PROTOTYPE = Array.prototype; 86 testcases[testcases.length] = new TestCase( SECTION, "Array.prototype.reverse.length", 0, Array.prototype.reverse.length ); 87 testcases[testcases.length] = new TestCase( SECTION, "delete Array.prototype.reverse.length", false, delete Array.prototype.reverse.length ); 88 testcases[testcases.length] = new TestCase( SECTION, "delete Array.prototype.reverse.length; Array.prototype.reverse.length", 0, eval("delete Array.prototype.reverse.length; Array.prototype.reverse.length (…) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.4-1.js | 24 ECMA Section: 15.3.4 Properties of the Function Prototype Object 26 Description: The Function prototype object is itself a Function 30 The value of the internal [[Prototype]] property 31 object is the Object prototype object. 36 The Function prototype object does not have a valueOf 38 property from the Object prototype Object. 48 var TITLE = "Properties of the Function Prototype Object"; 59 "var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()", 61 eval("var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()")) [all...] |
15.3.4.js | 24 ECMA Section: 15.3.4 Properties of the Function Prototype Object 26 Description: The Function prototype object is itself a Function 30 The value of the internal [[Prototype]] property 31 object is the Object prototype object. 36 The Function prototype object does not have a valueOf 38 property from the Object prototype Object. 47 var TITLE = "Properties of the Function Prototype Object"; 58 "var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()", 60 eval("var myfunc = Function.prototype; myfunc.toString = Object.prototype.toString; myfunc.toString()")) [all...] |
15.3.2.1-1.js | 60 myfunc.toString = Object.prototype.toString; 62 array[item++] = new TestCase( SECTION, "myfunc = new Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()", 66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() ); 68 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor ); 73 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object Object]", eval("OBJ.toString = Object.prototype.toString; OBJ.toString()") ); 74 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototype.toString; MyObject.toString()") ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.js | 24 ECMA Section: 15.5.4 Properties of the String prototype object 34 var TITLE = "Properties of the String Prototype objecta"; 46 "String.prototype.getClass = Object.prototype.toString; String.prototype.getClass()", 48 eval("String.prototype.getClass = Object.prototype.toString; String.prototype.getClass()") ); 50 array[item++] = new TestCase( SECTION, "typeof String.prototype", "object", typeof String.prototype ); [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/instanceof/ |
instanceof-003.js | 9 js> Foo.prototype = theproto 42 Foo.prototype = theproto; 45 "function Foo() = {}; theproto = {}; Foo.prototype = theproto; " +
|
regress-7635.js | 56 Foo.prototype = theproto 60 AddTestCase( "function Foo() {}; theproto = {}; Foo.prototype = theproto; theproto instanceof Foo",
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_3.js | 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the 55 Manager.prototype = new Employee(); 61 WorkerBee.prototype = new Employee(); 67 SalesPerson.prototype = new WorkerBee(); 73 Engineer.prototype = new WorkerBee();
|
proto_12.js | 55 Manager.prototype = new Employee(); 62 WorkerBee.prototype = new Employee(); 68 SalesPerson.prototype = new WorkerBee(); 84 Engineer.prototype = new WorkerBee(); 103 Hobbyist.prototype.equipment = [ "horn", "mountain", "goat" ]; 115 Array.prototype.getClass = Object.prototype.toString;
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_4/Regress/ |
date-001-n.js | 45 MyDate.prototype = new Date(); 50 "MyDate.prototype = new Date(); " +
|
function-004-n.js | 43 o.call = Function.prototype.call; 47 "var o = {}; o.call = Function.prototype.call; o.call()",
|
toString-001-n.js | 26 * Function.prototype.toString is not generic. 44 o.toString = Function.prototype.toString; 49 "var o = {}; o.toString = Function.prototype.toString; o.toString();",
|
/external/webkit/Source/WebCore/inspector/front-end/ |
DatabaseTableView.js | 40 WebInspector.DatabaseTableView.prototype = { 43 WebInspector.View.prototype.show.call(this, parentElement); 90 WebInspector.DatabaseTableView.prototype.__proto__ = WebInspector.View.prototype;
|
/external/webkit/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/ |
LeaksParser.js | 36 LeaksParser.prototype = {
|
/dalvik/vm/oo/ |
Class.h | 188 * Store a copy of the method prototype descriptor string 196 dexProtoGetMethodDescriptor(&method->prototype, pCache); 202 * given method's prototype. For example, if the method descriptor is 208 return dexProtoComputeArgsSize(&method->prototype); 218 return dexProtoCompare(&method1->prototype, &method2->prototype); 229 return dexProtoCompareParameters(&method1->prototype, &method2->prototype); 234 * name is considered the "major" order and the prototype the "minor" 243 * prototype the "minor" order. The prototypes are compared as if b [all...] |
/external/v8/test/mjsunit/ |
setter-on-constructor-prototype.js | 34 C1.prototype = { set x(value) { this.y = 23; } }; 36 %ToFastProperties(C1.prototype); 49 C2.prototype = { }; 50 C2.prototype.__proto__ = { set x(value) { this.y = 23; } }; 52 %ToFastProperties(C2.prototype.__proto__) 65 C3.prototype = { }; 66 C3.prototype.__defineSetter__('x', function(value) { this.y = 23; }); 68 %ToFastProperties(C3.prototype); 81 C4.prototype = { }; 82 C4.prototype.__proto__ = { } [all...] |
function-without-prototype.js | 28 // Tests that function does not have prototype. 30 assertFalse('prototype' in f); 31 assertEquals(undefined, f.prototype); 32 f.prototype = 42; 33 assertEquals(42, f.prototype); 34 assertTrue('prototype' in f); 40 eval(name + ".prototype = 42;"); 45 testPrototype(Array.prototype.push); 46 testPrototype(Function.prototype.call); 52 testConstruction("Function.prototype.apply") [all...] |