Searched refs:prototype (Results 51 - 75 of 1100) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/resources/options/
H A Dcontent_settings_ui.js13 ContentSettingsRadio.prototype = {
14 __proto__: HTMLInputElement.prototype,
/external/chromium-trace/trace-viewer/src/
H A Dlinux_perf_parser.js22 * LinuxPerfWorkqueueParser.prototype.executeStartEvent.bind(this));
24 * LinuxPerfWorkqueueParser.prototype.executeEndEvent.bind(this));
88 LinuxPerfParser.prototype = {
89 __proto__: Object.prototype
/external/v8/test/mjsunit/bugs/
H A Dbug-617.js36 RegExp.prototype.exec = make_sure_we_dont_get_here;
H A Dbug-618.js36 // If a setter is added to the prototype chain of a simple constructor setting
44 C.prototype.__defineSetter__('x', function(value) { this.y = 23; });
/external/v8/test/mjsunit/
H A Dcall-non-function-call.js28 // Throw exception when invoking Function.prototype.call with a
32 Function.prototype.call.call({});
H A Dprototype.js33 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
[all...]
H A Dundeletable-functions.js37 CheckEcmaSemantics(Array.prototype, array, "Array prototype");
39 var old_Array_prototype = Array.prototype;
42 Array.prototype = new_Array_prototype;
43 assertEquals(old_Array_prototype, Array.prototype);
57 CheckEcmaSemantics(Date.prototype, array, "Date prototype");
80 CheckEcmaSemantics(RegExp.prototype, array, "RegExp prototype");
86 CheckEcmaSemantics(Object.prototype, arra
[all...]
H A Dwith-readonly.js30 // Create an object with a read-only length property in the prototype
31 // chain by putting the string split function in the prototype chain.
33 o.__proto__ = String.prototype.split;
H A Dvalue-callic-prototype-change.js42 String.prototype.toString = function() { return "ostehaps"; };
54 Number.prototype.toString = function() { return 0; };
65 Number.prototype.toString = function() { return 42; };
76 Boolean.prototype.toString = function() { return 0; };
87 Boolean.prototype.toString = function() { return 42; };
/external/v8/test/mjsunit/regress/
H A Dregress-1130.js29 // of JS accessors on Object's prototype elements.
31 Object.prototype.__defineGetter__(0, function() { throw 42; } );
H A Dregress-191.js34 Object.prototype.__defineSetter__("x", function() { setterCalled = true; });
H A Dregress-3006390.js29 X.prototype.valueOf = function () { return 7; }
H A Dregress-1215.js28 // Make sure that the "message" property on Error.prototype
32 var desc = Object.getOwnPropertyDescriptor(Error.prototype, 'message');
H A Dregress-1530.js28 // 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
[all...]
H A Dregress-1548.js36 // caller accessor on the prototype.
37 delete Array.prototype.map.caller;
46 // caller accessor on the prototype.
47 delete Array.prototype.map.arguments;
H A Dregress-88591.js29 // prototype shadowed by a setter in the global object's prototype's
30 // prototype would crash or assert when seen by Runtime_DeclareContextSlot.
32 Object.prototype.__defineSetter__('x', function(x) { called = true; });
33 Object.prototype.__defineGetter__('x', function () { return 0; });
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/
H A Dproto_2.js32 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;
97 "employee.__proto__ == Employee.prototype",
99 employee.__proto__ == Employee.prototype );
102 "manager.__proto__ == Manager.prototype",
104 manager.__proto__ == Manager.prototype );
107 "workerbee.__proto__ == WorkerBee.prototype",
[all...]
/external/webkit/Source/WebCore/inspector/front-end/
H A DExtensionRegistryStub.js37 WebInspector.InspectorExtensionRegistryStub.prototype = {
H A DTopDownProfileDataGridTree.js35 WebInspector.TopDownProfileDataGridNode.prototype = {
67 WebInspector.TopDownProfileDataGridNode.prototype.__proto__ = WebInspector.ProfileDataGridNode.prototype;
75 WebInspector.TopDownProfileDataGridNode.prototype._populate.call(this);
78 WebInspector.TopDownProfileDataGridTree.prototype = {
100 WebInspector.TopDownProfileDataGridNode.prototype._exclude.call(this, excludedCallUID);
113 WebInspector.ProfileDataGridTree.prototype.restore.call(this);
116 _merge: WebInspector.TopDownProfileDataGridNode.prototype._merge,
118 _sharedPopulate: WebInspector.TopDownProfileDataGridNode.prototype._sharedPopulate
121 WebInspector.TopDownProfileDataGridTree.prototype
[all...]
/external/v8/src/
H A Dmirror-debugger.js125 * Inherit the prototype methods from one constructor into another.
127 * The Function.prototype.inherits from lang.js rewritten as a standalone
128 * function (not on Function.prototype). NOTE: If this file is to be loaded
130 * functions as prototype setup using normal JavaScript does not work as
134 * prototype
135 * @param {function} superCtor Constructor function to inherit prototype from
139 tempCtor.prototype = superCtor.prototype;
140 ctor.super_ = superCtor.prototype;
141 ctor.prototype
[all...]
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Dcontext_menu_button.js35 ContextMenuButton.prototype = {
36 __proto__: MenuButton.prototype,
52 MenuButton.prototype.decorate.call(this);
69 MenuButton.prototype.handleEvent.call(this, e);
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstBaseMethodRef.java31 /** {@code non-null;} the raw prototype for this method */
32 private final Prototype prototype; field in class:CstBaseMethodRef
35 * {@code null-ok;} the prototype for this method taken to be an instance
50 this.prototype = Prototype.intern(descriptor);
55 * Gets the raw prototype of this method. This doesn't include a
58 * @return {@code non-null;} the method prototype
61 return prototype;
65 * Gets the prototype of this method as either a
68 * prototype. In the case of an instance method, this has an
73 * @return {@code non-null;} the method prototype
[all...]
/external/v8/test/mjsunit/compiler/
H A Dinline-context-slots.js39 F.prototype.max = function() {
42 F.prototype.run = function() {
/external/webkit/PerformanceTests/SunSpider/hosted/
H A Djson2.js48 Date.prototype.toJSON = function (key) {
154 lastIndex, length, parse, prototype, push, replace, slice, stringify,
173 if (typeof Date.prototype.toJSON !== 'function') {
175 Date.prototype.toJSON = function (key) {
186 String.prototype.toJSON =
187 Number.prototype.toJSON =
188 Boolean.prototype.toJSON = function (key) {
293 if (Object.prototype.toString.apply(value) === '[object Array]') {
/external/chromium/chrome/browser/resources/net_internals/
H A Dsourceentry.js23 SourceEntry.prototype.isSelected = function() {
27 SourceEntry.prototype.setSelectedStyles = function(isSelected) {
32 SourceEntry.prototype.setMouseoverStyle = function(isMouseOver) {
36 SourceEntry.prototype.setIsMatchedByFilter = function(isMatchedByFilter) {
54 SourceEntry.prototype.isMatchedByFilter = function() {
58 SourceEntry.prototype.setFilterStyles = function(isMatchedByFilter) {
67 SourceEntry.prototype.update = function(logEntry) {
95 SourceEntry.prototype.onCheckboxToggled_ = function() {
99 SourceEntry.prototype.matchesFilter = function(filter) {
131 SourceEntry.prototype
[all...]

Completed in 274 milliseconds

1234567891011>>