Searched refs:prototype (Results 176 - 200 of 1100) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/resources/ntp4/
H A Dapps_page.js18 el.__proto__ = App.prototype;
25 App.prototype = {
26 __proto__: HTMLDivElement.prototype,
106 el.__proto__ = AppsPage.prototype;
112 AppsPage.prototype = {
113 __proto__: TilePage.prototype,
/external/chromium/chrome/browser/resources/options/
H A Dbrowser_options_startup_page_list.js28 el.__proto__ = StartupPageListItem.prototype;
32 StartupPageListItem.prototype = {
33 __proto__: InlineEditableItem.prototype,
44 InlineEditableItem.prototype.decorate.call(this);
111 StartupPageList.prototype = {
112 __proto__: InlineEditableItemList.prototype,
H A Ddeletable_item_list.js15 DeletableItem.prototype = {
16 __proto__: ListItem.prototype,
41 ListItem.prototype.decorate.call(this);
91 DeletableItemList.prototype = {
92 __proto__: List.prototype,
96 List.prototype.decorate.call(this);
H A Dcertificate_import_error_overlay.js21 CertificateImportErrorOverlay.prototype = {
23 __proto__: OptionsPage.prototype,
30 OptionsPage.prototype.initializePage.call(this);
H A Dcertificate_restore_overlay.js21 CertificateRestoreOverlay.prototype = {
22 __proto__: OptionsPage.prototype,
28 OptionsPage.prototype.initializePage.call(this);
/external/v8/test/mjsunit/
H A Dfuzz-accessors.js29 'prototype', 'length', 'caller', 0, 1, '$1', 'arguments', 'name', 'message', 'constructor'
59 [1, Number.prototype],
60 ["foo", String.prototype],
61 [true, Boolean.prototype],
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/
H A D15.6.4-1.js27 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).
51 array[item++] = new TestCase( SECTION, "typeof Boolean.prototype == typeof( new Boolean )", true, typeof Boolean.prototype == typeof( new Boolean ) );
52 array[item++] = new TestCase( SECTION, "typeof( Boolean.prototype )", "object", typeof(Boolean.prototype) );
54 "Boolean.prototype.toString = Object.prototype.toString; Boolean.prototype
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Number/
H A D15.7.4-1.js34 writeHeaderToLog( SECTION + "Properties of the Number prototype object");
45 array[item++] = new TestCase(SECTION, "Number.prototype.valueOf()", 0, Number.prototype.valueOf() );
46 array[item++] = new TestCase(SECTION, "typeof(Number.prototype)", "object", typeof(Number.prototype) );
47 array[item++] = new TestCase(SECTION, "Number.prototype.constructor == Number", true, Number.prototype.constructor == Number );
48 // array[item++] = new TestCase(SECTION, "Number.prototype == Number.__proto__", true, Number.prototype == Number.__proto__ );
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/
H A D15.11.7.6-002.js55 * Tests that |F.prototype| is DontDelete
59 var orig = F.prototype;
60 delete F.prototype;
61 return F.prototype === orig;
84 status = 'Testing DontDelete attribute of |' + list[i] + '.prototype|';
H A D15.11.7.6-003.js55 * Tests that |F.prototype| is ReadOnly
59 var orig = F.prototype;
60 F.prototype = new Object();
61 return F.prototype === orig;
84 status = 'Testing ReadOnly attribute of |' + list[i] + '.prototype|';
/external/webkit/Source/WebCore/inspector/front-end/
H A DWelcomeView.js58 WebInspector.WelcomeView.prototype = {
73 WebInspector.WelcomeView.prototype.__proto__ = WebInspector.View.prototype;
H A DAuditCategories.js37 WebInspector.AuditCategories.PagePerformance.prototype = {
46 WebInspector.AuditCategories.PagePerformance.prototype.__proto__ = WebInspector.AuditCategory.prototype;
54 WebInspector.AuditCategories.NetworkUtilization.prototype = {
70 WebInspector.AuditCategories.NetworkUtilization.prototype.__proto__ = WebInspector.AuditCategory.prototype;
H A DSourceCSSTokenizer.re2js123 WebInspector.SourceCSSTokenizer.prototype = {
268 WebInspector.SourceCSSTokenizer.prototype.__proto__ = WebInspector.SourceTokenizer.prototype;
/external/chromium/chrome/browser/resources/net_internals/
H A Ddetailsview.js37 DetailsView.prototype.setData = function(currentData) {
68 DetailsSubView.prototype.setData = function(sourceEntries) {
79 DetailsSubView.prototype.repaint = function() {
84 DetailsSubView.prototype.show = function(isVisible) {
106 DetailsLogView.prototype.repaint = function() {
123 DetailsTimelineView.prototype.repaint = function() {
/external/chromium/chrome/browser/resources/shared/js/cr/ui/table/
H A Dtable_splitter.js24 TableSplitter.prototype = {
25 __proto__: Splitter.prototype,
35 Splitter.prototype.decorate.call(this);
/external/chromium-trace/trace-viewer/src/
H A Dlinux_perf_clock_parser.js22 LinuxPerfClockParser.prototype.traceMarkWriteClockEvent.bind(this));
28 LinuxPerfClockParser.prototype = {
29 __proto__: LinuxPerfParser.prototype,
H A Dlinux_perf_drm_parser.js21 LinuxPerfDrmParser.prototype.vblankEvent.bind(this));
24 LinuxPerfDrmParser.prototype = {
25 __proto__: LinuxPerfParser.prototype,
H A Dlinux_perf_cpufreq_parser.js21 LinuxPerfCpufreqParser.prototype.cpufreqUpDownEvent.bind(this));
23 LinuxPerfCpufreqParser.prototype.cpufreqUpDownEvent.bind(this));
25 LinuxPerfCpufreqParser.prototype.cpufreqTargetEvent.bind(this));
27 LinuxPerfCpufreqParser.prototype.cpufreqTargetEvent.bind(this));
29 LinuxPerfCpufreqParser.prototype.cpufreqTargetEvent.bind(this));
31 LinuxPerfCpufreqParser.prototype.cpufreqBoostUnboostEvent.bind(this));
33 LinuxPerfCpufreqParser.prototype.cpufreqBoostUnboostEvent.bind(this));
36 LinuxPerfCpufreqParser.prototype = {
37 __proto__: LinuxPerfParser.prototype,
H A Dlinux_perf_sched_parser.js21 LinuxPerfSchedParser.prototype.schedSwitchEvent.bind(this));
23 LinuxPerfSchedParser.prototype.schedWakeupEvent.bind(this));
40 LinuxPerfSchedParser.prototype = {
41 __proto__: LinuxPerfParser.prototype,
H A Dlinux_perf_workqueue_parser.js21 LinuxPerfWorkqueueParser.prototype.executeStartEvent.bind(this));
23 LinuxPerfWorkqueueParser.prototype.executeEndEvent.bind(this));
34 LinuxPerfWorkqueueParser.prototype = {
35 __proto__: LinuxPerfParser.prototype,
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/FunctionObjects/
H A D15.3.1.1-1.js55 myfunc.toString = Object.prototype.toString;
60 myfunc.toString = Object.prototype.toString;
62 "myfunc = Function(); myfunc.toString = Object.prototype.toString; myfunc.toString()",
66 array[item++] = new TestCase( SECTION, "myfunc.prototype.toString()", "[object Object]", myfunc.prototype.toString() );
67 array[item++] = new TestCase( SECTION, "myfunc.prototype.constructor", myfunc, myfunc.prototype.constructor );
71 array[item++] = new TestCase( SECTION, "OBJ.toString = Object.prototype.toString; OBJ.toString()", "[object Object]", eval("OBJ.toString = Object.prototype.toString; OBJ.toString()") );
72 array[item++] = new TestCase( SECTION, "MyObject.toString = Object.prototype
[all...]
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/
H A Dproto_4.js32 This tests the syntax ObjectName.prototype = new PrototypeObject using the
35 If you add a property to an object in the prototype chain, instances of
36 objects that derive from that prototype should inherit that property, even
37 if they were instatiated after the property was added to the prototype object.
46 var TITLE = "Adding properties to the prototype";
60 Manager.prototype = new Employee();
66 WorkerBee.prototype = new Employee();
72 SalesPerson.prototype = new WorkerBee();
78 Engineer.prototype = new WorkerBee();
99 Employee.prototype
[all...]
H A Dproto_5.js32 This tests the syntax ObjectName.prototype = new PrototypeObject using the
57 Manager.prototype = new Employee();
62 WorkerBee.prototype = new Employee();
68 SalesPerson.prototype = new WorkerBee();
74 Engineer.prototype = new WorkerBee();
116 "pat.__proto__ == Engineer.prototype",
118 pat.__proto__ == Engineer.prototype );
141 "les.__proto__ == Engineer.prototype",
143 les.__proto__ == Engineer.prototype );
/external/chromium/chrome/browser/resources/shared/js/cr/ui/
H A Darray_data_model.js23 ArrayDataModel.prototype = {
24 __proto__: EventTarget.prototype,
81 e.added = Array.prototype.slice.call(arguments, 2);
99 var args = Array.prototype.slice.call(arguments);
H A Dcommand.js49 KeyboardShortcut.prototype = {
74 Command.prototype = {
75 __proto__: HTMLElement.prototype,
220 CommandManager.prototype = {
229 var commands = Array.prototype.slice.call(
243 var commands = Array.prototype.slice.call(
267 e.__proto__ = CanExecuteEvent.prototype;
272 CanExecuteEvent.prototype = {
273 __proto__: Event.prototype,

Completed in 239 milliseconds

1234567891011>>