/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ExecutionContexts/ |
10.2.2-2.js | 58 var OBJECT = new MyObject( "hello" ); 70 testcases[tc++] = new TestCase( SECTION, "new MyObject('hello').value", "hello", value ); 71 testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').value)", "hello", eval("value") ); 72 testcases[tc++] = new TestCase( SECTION, "new MyObject('hello').getClass()", "[object Object]", getClass() ); 73 testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').getClass())", "[object Object]", eval("getClass()") ); 74 testcases[tc++] = new TestCase( SECTION, "eval(new MyObject('hello').toString())", "hello", eval("toString()") ); 100 function MyObject( value ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/NativeObjects/ |
15-1.js | 62 array[item++] = new TestCase( SECTION, "MyObject.prototype.__proto__", Object.prototype, MyObject.prototype.__proto__ ); 73 array[item++] = new TestCase( SECTION, "MyObject.prototype.__proto__ == Object.prototype", true, MyObject.prototype.__proto__ == Object.prototype ); 92 function MyObject( value ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/ |
15.7.1.js | 70 array[item++] = new TestCase(SECTION, "Number(new MyObject(100))", 100, Number(new MyObject(100)) ); 87 function MyObject( value ) {
|
/external/chromium/net/data/proxy_resolver_v8_unittest/ |
bindings.js | 5 function MyObject() { 9 MyObject.prototype.toString = function() { 42 alert(new MyObject());
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Expressions/ |
11.6.1-3.js | 88 // tests for boolean primitive, boolean object, Object object, a "MyObject" whose value is 124 var MYOB1 = new MyObject( DATE1 ); 130 "MYOB1 = new MyObject(DATE1); MYOB1 + new Number(1)", 135 "MYOB1 = new MyObject(DATE1); MYOB1 + 1", 155 "MYOB1 = new MyObject(DATE1); MYOB1 + true", 178 function MyObject( value ) {
|
11.2.1-2.js | 113 function MyObject( value ) {
|
11.2.1-3-n.js | 109 function MyObject( value ) {
|
11.2.1-4-n.js | 109 function MyObject( value ) {
|
11.4.1.js | 66 "var OB = new MyObject(); for ( p in OB ) { delete p }", 68 eval("var OB = new MyObject(); for ( p in OB ) { delete p }") ); 86 function MyObject() {
|
11.2.1-5.js | 113 function MyObject( value ) {
|
11.6.1-1.js | 90 // tests for boolean primitive, boolean object, Object object, a "MyObject" whose value is 115 "var EXP_1 = new MyObject(true); var EXP_2 = new MyObject(false); EXP_1 + EXP_2", 117 eval("var EXP_1 = new MyObject(true); var EXP_2 = new MyObject(false); EXP_1 + EXP_2") ); 120 "var EXP_1 = new MyObject(new Boolean(true)); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 + EXP_2", 122 eval("var EXP_1 = new MyObject(new Boolean(true)); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 + EXP_2") ); 134 // tests for number primitive, number object, Object object, a "MyObject" whose value i [all...] |
11.6.1-2.js | 89 // tests for boolean primitive, boolean object, Object object, a "MyObject" whose value is 119 "var EXP_1 = new MyObject(true); var EXP_2 = new MyObject('string'); EXP_1 + EXP_2", 121 eval("var EXP_1 = new MyObject(true); var EXP_2 = new MyObject('string'); EXP_1 + EXP_2") ); 124 "var EXP_1 = new MyObject(new String('string')); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 + EXP_2", 126 eval("var EXP_1 = new MyObject(new String('string')); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 + EXP_2") ); 138 // tests for number primitive, number object, Object object, a "MyObject" whose value i [all...] |
11.6.2-1.js | 68 // tests for boolean primitive, boolean object, Object object, a "MyObject" whose value is 93 "var EXP_1 = new MyObject(true); var EXP_2 = new MyObject(false); EXP_1 - EXP_2", 95 eval("var EXP_1 = new MyObject(true); var EXP_2 = new MyObject(false); EXP_1 - EXP_2") ); 98 "var EXP_1 = new MyObject(new Boolean(true)); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 - EXP_2", 100 eval("var EXP_1 = new MyObject(new Boolean(true)); var EXP_2 = new MyObject(new Boolean(false)); EXP_1 - EXP_2") ); 117 // tests for number primitive, number object, Object object, a "MyObject" whose value i [all...] |
11.2.1-1.js | 261 function MyObject( arg0, arg1, arg2, arg3, arg4 ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/String/ |
15.5.4.6-2.js | 89 function MyObject (v) { 136 var foo = new MyObject('hello'); 138 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('h')", 0, foo.indexOf("h") ); 139 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('e')", 1, foo.indexOf("e") ); 140 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('l')", 2, foo.indexOf("l") ); 141 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('l')", 2, foo.indexOf("l") ); 142 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('o')", 4, foo.indexOf("o") ); 143 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf('X')", -1, foo.indexOf("X") ); 144 array[item++] = new TestCase( SECTION, "var foo = new MyObject('hello');foo.indexOf(5) ", -1, foo.indexOf(5) ); 146 var boo = new MyObject(true) [all...] |
15.5.4.10-1.js | 195 "var obj = new MyObject( void 0 ); obj.substring(0, 100)", 197 eval( "var obj = new MyObject( void 0 ); obj.substring(0,100)") ); 214 function MyObject( value ) {
|
15.5.4.9-1.js | 179 "var obj = new MyObject( null ); obj.substring(0)", 181 eval( "var obj = new MyObject( null ); obj.substring(0)") ); 198 function MyObject( value ) {
|
15.5.4.4-2.js | 79 array[item++] = new TestCase( SECTION, "var MYOB = new MyObject(1234567890); MYOB.charAt(0)", "1", eval("var MYOB = new MyObject(1234567890); MYOB.charAt(0)") ); 80 array[item++] = new TestCase( SECTION, "var MYOB = new MyObject(1234567890); MYOB.charAt(1)", "2", eval("var MYOB = new MyObject(1234567890); MYOB.charAt(1)") ); 81 array[item++] = new TestCase( SECTION, "var MYOB = new MyObject(1234567890); MYOB.charAt(2)", "3", eval("var MYOB = new MyObject(1234567890); MYOB.charAt(2)") ); 82 array[item++] = new TestCase( SECTION, "var MYOB = new MyObject(1234567890); MYOB.charAt(3)", "4", eval("var MYOB = new MyObject(1234567890); MYOB.charAt(3)") ); 83 array[item++] = new TestCase( SECTION, "var MYOB = new MyObject(1234567890); MYOB.charAt(4)", "5", eval("var MYOB = new MyObject(1234567890); MYOB.charAt(4)") ) [all...] |
15.5.4.11-1.js | 92 function MyObject( value ) {
|
15.5.4.11-2.js | 197 function MyObject( value ) {
|
/external/v8/test/mjsunit/regress/ |
regress-84234.js | 48 var MYOBJECT = new MyObject(); 52 function MyObject( n ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Date/ |
15.9.5.3-2.js | 89 function MyObject( value ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/ |
15.2.4.2.js | 58 array[item++] = new TestCase( SECTION, "myvar = MyObject; myvar.toString = Object.prototype.toString; myvar.toString()", 60 eval("myvar = MyObject; myvar.toString = Object.prototype.toString; myvar.toString()") ); 62 array[item++] = new TestCase( SECTION, "myvar = new MyObject( true ); myvar.toString = Object.prototype.toString; myvar.toString()", 64 eval("myvar = new MyObject( true ); myvar.toString = Object.prototype.toString; myvar.toString()") ); 125 function MyObject( value ) {
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Types/ |
8.6.2.1-1.js | 70 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(true); OBJ.valueOf()", true, eval("var OBJ = new MyObject(true); OBJ.valueOf()") ); 75 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject(Number.POSITIVE_INFINITY); OBJ.valueOf()", Number.POSITIVE_INFINITY, eval("var OBJ = new MyObject(Number.POSITIVE_INFINITY); OBJ.valueOf()") ); 80 array[item++] = new TestCase( SECTION, "var OBJ = new MyObject('string'); OBJ.valueOf()", 'string', eval("var OBJ = new MyObject('string'); OBJ.valueOf()") ); 102 function MyObject( value ) {
|
/external/v8/test/mjsunit/ |
eval.js | 80 function MyObject() { this.self = eval('this'); } 81 var o = new MyObject();
|