/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Exceptions/ |
exception-006.js | 27 * Getting the [[DefaultValue]] of any instances of MyObject 31 function MyObject() { 41 result = new MyObject() + new MyObject(); 48 "new MyObject() + new MyObject() [ exception is " + exception +" ]",
|
exception-007.js | 28 * Getting the [[DefaultValue]] of any instances of MyObject 32 function MyObject() { 42 result = new MyObject() + new MyObject(); 49 "new MyObject() + new MyObject() [ exception is " + exception +" ]",
|
date-001.js | 36 var OBJ = new MyObject( new Date(0) ); 45 "OBJECT = new MyObject( new Date(0)) ; result = OBJ.toString()" + 52 function MyObject( value ) {
|
date-003.js | 31 var OBJ = new MyObject( new Date(0) ); 40 "OBJ = new MyObject( new Date(0)); OBJ.valueOf()" + 47 function MyObject( value ) {
|
statement-003.js | 53 var o = new MyObject(); 73 function MyObject() {
|
statement-004.js | 24 var o = new MyObject(); 45 function MyObject() {
|
statement-005.js | 24 var o = new MyObject(); 44 function MyObject() {
|
statement-006.js | 25 var o = new MyObject(); 44 function MyObject() {
|
/external/webkit/Source/JavaScriptCore/API/tests/ |
testapi.js | 78 shouldBe("typeof MyObject", "function"); // our object implements 'call' 79 MyObject.cantFind = 1; 80 shouldBe("MyObject.cantFind", undefined); 81 MyObject.regularType = 1; 82 shouldBe("MyObject.regularType", 1); 83 MyObject.alwaysOne = 2; 84 shouldBe("MyObject.alwaysOne", 1); 85 MyObject.cantDelete = 1; 86 delete MyObject.cantDelete; 87 shouldBe("MyObject.cantDelete", 1) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.1.4-6.js | 67 "with MyObject, eval should be [object Global].eval " ); 69 var MYOBJECT = new MyObject(); 73 with ( MYOBJECT ) { 81 function MyObject() {
|
10.1.4-1.js | 69 var MYOBJECT = new MyObject(); 73 with ( MYOBJECT ) { 93 array[item++] = new TestCase( "SECTION", "with MyObject, eval should return square of " ); 98 function MyObject() {
|
10.1.4-2.js | 69 var MYOBJECT = new MyObject(); 74 with ( MYOBJECT ) { 95 array[item++] = new TestCase( "SECTION", "with MyObject, eval should return square of " ); 100 function MyObject() {
|
10.1.4-3.js | 68 var MYOBJECT = new MyObject(); 72 with ( MYOBJECT ) { 91 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " ); 96 function MyObject() {
|
10.1.4-4.js | 68 var MYOBJECT = new MyObject(); 72 with ( MYOBJECT ) { 94 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " ); 99 function MyObject() {
|
10.1.4-5.js | 68 var MYOBJECT = new MyObject(); 72 with ( MYOBJECT ) { 94 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " ); 99 function MyObject() {
|
10.1.4-7.js | 68 var MYOBJECT = new MyObject(); 72 with ( MYOBJECT ) { 93 array[item++] = new TestCase( "SECTION", "with MyObject, eval should be [object Global].eval " ); 98 function MyObject() {
|
10.1.4-8.js | 68 var MYOBJECT = new MyObject(); 72 with ( MYOBJECT ) { 94 array[item++] = new TestCase( "SECTION", "with MyObject, eval should cube INPUT: " ); 99 function MyObject() {
|
10.1.4-9.js | 68 var MYOBJECT = new MyObject(); 71 with ( MYOBJECT ) { 96 function MyObject( n ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/ |
15.3.5-2.js | 71 var MyObject = new Function( 'a', 'b', 'c', 'this.a = a; this.b = b; this.c = c; this.value = a+b+c; this.valueOf = new Function( "return this.value" )' ); 73 array[item++] = new TestCase( SECTION, "MyObject.length", 3, MyObject.length ); 74 array[item++] = new TestCase( SECTION, "typeof MyObject.prototype", "object", typeof MyObject.prototype ); 75 array[item++] = new TestCase( SECTION, "typeof MyObject.prototype.constructor", "function", typeof MyObject.prototype.constructor ); 76 array[item++] = new TestCase( SECTION, "MyObject.arguments", null, MyObject.arguments );
|
15.3.1.1-1.js | 45 var MyObject = Function( "value", "this.value = value; this.valueOf = Function( 'return this.value' ); this.toString = Function( 'return String(this.value);' )" ); 69 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 72 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototype.toString; MyObject.toString()") ); 73 array[item++] = new TestCase( SECTION, "MyObject.__proto__ == Function.prototype", true, MyObject.__proto__ == Function.prototype ); 74 array[item++] = new TestCase( SECTION, "MyObject.length", 1, MyObject.length ) [all...] |
15.3.2.1-1.js | 46 var MyObject = new Function( "value", "this.value = value; this.valueOf = new Function( 'return this.value' ); this.toString = new Function( 'return String(this.value);' )" ); 71 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 74 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype.toString; MyObject.toString()", "[object Function]", eval("MyObject.toString = Object.prototype.toString; MyObject.toString()") ); 76 array[item++] = new TestCase( SECTION, "MyObject.__proto__ == Function.prototype", true, MyObject.__proto__ == Function.prototype ); 77 array[item++] = new TestCase( SECTION, "MyObject.length", 1, MyObject.length ) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_2/Statements/ |
forin-002.js | 22 function MyObject( value ) { 33 ForIn_1(new MyObject(true)); 34 ForIn_2(new MyObject(new Boolean(true)));
|
/external/webkit/Source/WebCore/bridge/ |
testbindings.cpp | 49 } MyObject; 141 void setDoubleValue (MyObject *obj, const NPVariant *variant) 152 void setIntValue (MyObject *obj, const NPVariant *variant) 163 void setStringValue (MyObject *obj, const NPVariant *variant) 169 void setBooleanValue (MyObject *obj, const NPVariant *variant) 180 void getDoubleValue (MyObject *obj, NPVariant *variant) 185 void getIntValue (MyObject *obj, NPVariant *variant) 190 void getStringValue (MyObject *obj, NPVariant *variant) 195 void getBooleanValue (MyObject *obj, NPVariant *variant) 200 void myGetProperty (MyObject *obj, NPIdentifier name, NPVariant *variant [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.2-2-n.js | 51 var OBJ = new MyObject( new Date(0) ); 54 "var OBJ = new MyObject( new Date(0) ); OBJ.toString()", 59 function MyObject( value ) {
|
15.9.5.3-1-n.js | 46 var OBJ = new MyObject( new Date(0) ); 49 "var OBJ = new MyObject( new Date(0) ); OBJ.valueOf()", 54 function MyObject( value ) {
|