HomeSort by relevance Sort by last modified time
    Searched refs:prototype (Results 76 - 100 of 699) sorted by null

1 2 34 5 6 7 8 91011>>

  /external/webkit/JavaScriptCore/tests/mozilla/ecma_2/RegExp/
properties-001.js 33 AddTestCase( re + ".test == RegExp.prototype.test",
35 re.test == RegExp.prototype.test );
37 AddTestCase( re + ".toString == RegExp.prototype.toString",
39 re.toString == RegExp.prototype.toString );
41 AddTestCase( re + ".contructor == RegExp.prototype.constructor",
43 re.constructor == RegExp.prototype.constructor );
45 AddTestCase( re + ".compile == RegExp.prototype.compile",
47 re.compile == RegExp.prototype.compile );
49 AddTestCase( re + ".exec == RegExp.prototype.exec",
51 re.exec == RegExp.prototype.exec )
    [all...]
  /external/webkit/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__ );
77 array[item++] = new TestCase( SECTION, "(Object(-1)).__proto__", Number.prototype, (Object(-1)).__proto__ );
81 array[item++] = new TestCase( SECTION, "(Object(Number.MAX_VALUE)).__proto__", Number.prototype, (Object(Number.MAX_VALUE)).__proto__ );
85 array[item++] = new TestCase( SECTION, "(Object(Number.MIN_VALUE)).__proto__", Number.prototype, (Object(Number.MIN_VALUE)).__proto__ );
89 array[item++] = new TestCase( SECTION, "(Object(Number.POSITIVE_INFINITY)).__proto__", Number.prototype, (Object(Number.POSITIVE_INFINITY)).__proto__ );
93 array[item++] = new TestCase( SECTION, "(Object(Number.NEGATIVE_INFINITY)).__proto__", Number.prototype, (Object(Number.NEGATIVE_INFINITY)).__proto__ )
    [all...]
  /external/webkit/WebKit/chromium/src/js/
DevTools.js 74 devtools.ToolsAgent.prototype.reset = function()
86 devtools.ToolsAgent.prototype.evaluateJavaScript = function(script, opt_callback)
95 devtools.ToolsAgent.prototype.getDebuggerAgent = function()
104 devtools.ToolsAgent.prototype.getProfilerAgent = function()
115 devtools.ToolsAgent.prototype.frameNavigate_ = function(url)
134 devtools.ToolsAgent.prototype.dispatchOnClient_ = function(message)
147 devtools.ToolsAgent.prototype.evaluate = function(expr)
256 WebInspector.ScriptView.prototype.setupSourceFrameIfNeeded = function()
280 WebInspector.ScriptView.prototype.didResolveScriptSource_ = function()
302 var oldShow = WebInspector.ScriptsPanel.prototype.show
    [all...]
Tests.js 59 TestSuite.prototype.fail = function(message)
74 TestSuite.prototype.assertEquals = function(expected, actual, opt_message)
90 TestSuite.prototype.assertTrue = function(value, opt_message)
101 TestSuite.prototype.assertContains = function(string, substring)
111 TestSuite.prototype.takeControl = function()
125 TestSuite.prototype.releaseControl = function()
138 TestSuite.prototype.reportOk_ = function()
147 TestSuite.prototype.reportFailure_ = function(error)
160 TestSuite.prototype.runTest = function(testName)
175 TestSuite.prototype.showPanel = function(panelName
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/js1_5/GetSet/
getset-003.js 43 // SECTION1: define getter/setter directly on an object (not its prototype)
74 // SECTION2: define getter/setter in Object.prototype
75 Object.prototype.nameSETS = 0;
76 Object.prototype.nameGETS = 0;
77 Object.prototype.name setter = function(newValue) {this._name=newValue; this.nameSETS++;}
78 Object.prototype.name getter = function() {this.nameGETS++; return this._name;}
105 // SECTION 3: define getter/setter in prototype of user-defined constructor
109 TestObject.prototype.nameSETS = 0;
110 TestObject.prototype.nameGETS = 0;
111 TestObject.prototype.name setter = function(newValue) {this._name=newValue; this.nameSETS++;
    [all...]
getset-004.js 43 // SECTION1: define getter/setter directly on an object (not its prototype)
74 // SECTION2: define getter/setter in Object.prototype
75 Object.prototype.nameSETS = 0;
76 Object.prototype.nameGETS = 0;
77 Object.prototype.__defineSetter__('name', function(newValue) {this._name=newValue; this.nameSETS++;});
78 Object.prototype.__defineGetter__('name', function() {this.nameGETS++; return this._name;});
105 // SECTION 3: define getter/setter in prototype of user-defined constructor
109 TestObject.prototype.nameSETS = 0;
110 TestObject.prototype.nameGETS = 0;
111 TestObject.prototype.__defineSetter__('name', function(newValue) {this._name=newValue; this.nameSETS++;})
    [all...]
getset-005.js 52 // SECTION1: define getter/setter directly on an object (not its prototype)
83 // SECTION2: define getter/setter in Object.prototype
84 Object.prototype.nameSETS = 0;
85 Object.prototype.nameGETS = 0;
86 Object.prototype.__defineSetter__(cnName, cnNameSetter);
87 Object.prototype.__defineGetter__(cnName, cnNameGetter);
114 // SECTION 3: define getter/setter in prototype of user-defined constructor
118 TestObject.prototype.nameSETS = 0;
119 TestObject.prototype.nameGETS = 0;
120 TestObject.prototype.__defineSetter__(cnName, cnNameSetter)
    [all...]
getset-006.js 57 // SECTION1: define getter/setter directly on an object (not its prototype)
83 // SECTION2: define getter/setter in Object.prototype
84 Object.prototype.nameSETS = 0;
85 Object.prototype.nameGETS = 0;
86 Object.prototype.__defineSetter__(cnName, cnNameSetter);
87 Object.prototype.__defineGetter__(cnName, cnNameGetter);
110 // SECTION 3: define getter/setter in prototype of user-defined constructor
114 TestObject.prototype.nameSETS = 0;
115 TestObject.prototype.nameGETS = 0;
116 TestObject.prototype.__defineSetter__(cnName, cnNameSetter)
    [all...]
  /external/v8/test/mjsunit/
prototype.js 33 A.prototype = {};
34 B.prototype = new A();
35 C.prototype = new B();
37 result.A = A.prototype;
38 result.B = B.prototype;
39 result.C = C.prototype;
61 // Make sure we preserve the prototype of an object in the face of map transitions.
70 D.prototype = p
75 // Make sure that arrays and functions in the prototype chain works;
80 X.prototype = function(a,b) { }
    [all...]
function-names.js 36 // Array.prototype functions.
42 TestFunctionNames(Array.prototype, arrayPrototypeFunctions);
45 // Boolean prototype functions.
48 TestFunctionNames(Boolean.prototype, booleanPrototypeFunctions);
57 // Date.prototype functions.
71 TestFunctionNames(Date.prototype, datePrototypeFunctions);
74 // Function.prototype functions.
77 TestFunctionNames(Function.prototype, functionPrototypeFunctions);
87 // Number.prototype functions.
92 TestFunctionNames(Number.prototype, numberPrototypeFunctions)
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/
regress-181914.js 61 _Error.prototype = new Error();
62 _Error.prototype.name = '_Error';
73 MyApplyError.prototype = new _Error();
74 MyApplyError.prototype.name = "MyApplyError";
85 MyCallError.prototype = new _Error();
86 MyCallError.prototype.name = "MyCallError";
  /external/webkit/WebCore/inspector/front-end/
SidebarTreeElement.js 31 WebInspector.SidebarSectionTreeElement.prototype = {
64 WebInspector.SidebarSectionTreeElement.prototype.__proto__ = TreeElement.prototype;
99 WebInspector.SidebarTreeElement.prototype = {
201 WebInspector.SidebarTreeElement.prototype.__proto__ = TreeElement.prototype;
SourceHTMLTokenizer.re2js 75 WebInspector.SourceHTMLTokenizer.prototype = {
268 WebInspector.SourceHTMLTokenizer.prototype.__proto__ = WebInspector.SourceTokenizer.prototype;
Callback.js 37 WebInspector.Callback.prototype = {
47 var args = Array.prototype.slice.call(arguments, 1);
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
15.6.2.js 30 "object"). The prototype of the new object should
31 be Boolean.prototype. The value of the object
55 array[item++] = new TestCase( SECTION, "(new Boolean(1)).constructor", Boolean.prototype.constructor, (new Boolean(1)).constructor );
57 "TESTBOOL=new Boolean(1);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()",
59 eval("TESTBOOL=new Boolean(1);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()") );
62 array[item++] = new TestCase( SECTION, "(new Boolean(0)).constructor", Boolean.prototype.constructor, (new Boolean(0)).constructor );
64 "TESTBOOL=new Boolean(0);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()",
66 eval("TESTBOOL=new Boolean(0);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()") );
69 array[item++] = new TestCase( SECTION, "(new Boolean(-1)).constructor", Boolean.prototype.constructor, (new Boolean(-1)).constructor );
71 "TESTBOOL=new Boolean(-1);TESTBOOL.toString=Object.prototype.toString;TESTBOOL.toString()"
    [all...]
15.6.4-2.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, "Boolean.prototype.__proto__", Object.prototype, Boolean.prototype.__proto__ );
  /external/webkit/JavaScriptCore/runtime/
GetterSetter.h 51 static PassRefPtr<Structure> createStructure(JSValue prototype)
53 return Structure::create(prototype, TypeInfo(GetterSetterType, OverridesMarkChildren), AnonymousSlotCount);
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Array/
15.4.3.1-2.js 24 ECMA Section: 15.4.3.1 Array.prototype
25 Description: The initial value of Array.prototype is the built-in
26 Array prototype object (15.4.4).
35 var TITLE = "Array.prototype";
45 var ARRAY_PROTO = Array.prototype;
49 array[item++] = new TestCase( SECTION, "Array.prototype = null; Array.prototype", ARRAY_PROTO, eval("Array.prototype = null; Array.prototype") );
51 array[item++] = new TestCase( SECTION, "delete Array.prototype", false, delete Array.prototype )
    [all...]
15.4.4.js 24 ECMA Section: 15.4.4 Properties of the Array Prototype Object
25 Description: The value of the internal [[Prototype]] property of
26 the Array prototype object is the Object prototype
29 Note that the Array prototype object is itself an
40 var TITLE = "Properties of the Array Prototype Object";
52 // array[item++] = new TestCase( SECTION, "Array.prototype.__proto__", Object.prototype, Array.prototype.__proto__ );
55 array[item++] = new TestCase( SECTION, "Array.prototype.length", 0, Array.prototype.length )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
15.3.3.1-3.js 25 Function.prototype
27 Description: The initial value of Function.prototype is the built-in
28 Function prototype object.
33 This test the DontDelete property of Function.prototype.
42 var TITLE = "Function.prototype";
53 var FUN_PROTO = Function.prototype;
56 "delete Function.prototype",
58 delete Function.prototype
62 "delete Function.prototype; Function.prototype",
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
15.8-1.js 31 The value of the internal [[Prototype]] property of the Math object is the
32 Object prototype object (15.2.3.1).
62 "Math.__proto__ == Object.prototype",
64 Math.__proto__ == Object.prototype );
68 Object.prototype,
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/Number/
15.7.4.js 28 The Number prototype object is itself a Number object (its [[Class]] is
31 The value of the internal [[Prototype]] property of the Number prototype
32 object is the Object prototype object (15.2.3.1).
35 prototype object, the phrase "this Number object" refers to the object
48 var TITLE = "Properties of the Number Prototype Object";
59 "Number.prototype.toString=Object.prototype.toString;Number.prototype.toString()",
61 eval("Number.prototype.toString=Object.prototype.toString;Number.prototype.toString()") )
    [all...]
  /external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
15.5.2.js 32 - The prototype property of the newly constructed
33 object is set to the original String prototype object,
34 the one that is the intial value of String.prototype
58 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String('string primitive'); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") );
60 array[item++] = new TestCase( SECTION, "(new String('string primitive')).substring", String.prototype.substring, (new String('string primitive')).substring );
63 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String(void 0); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()") );
65 array[item++] = new TestCase( SECTION, "(new String(void 0)).toString", String.prototype.toString, (new String(void 0)).toString );
68 array[item++] = new TestCase( SECTION, "var TESTSTRING = new String(null); TESTSTRING.toString=Object.prototype.toString;TESTSTRING.toString()", "[object String]", eval("var TESTSTRING = new String(null); TES (…)
    [all...]
  /external/webkit/LayoutTests/fast/js/resources/
json2-es5-compat.js 40 Date.prototype.toJSON = function (key) {
154 lastIndex, length, parse, prototype, push, replace, slice, stringify,
171 if (typeof Date.prototype.toJSON !== 'function') {
173 Date.prototype.toJSON = function (key) {
289 if (Object.prototype.toString.apply(value) === '[object Array]') {
  /external/webkit/WebCore/bridge/
runtime_method.h 48 static PassRefPtr<Structure> createStructure(JSValue prototype)
50 return Structure::create(prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount);

Completed in 337 milliseconds

1 2 34 5 6 7 8 91011>>