Searched refs:prototype (Results 1 - 25 of 1984) sorted by relevance
1234567891011>>
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-1062422.js | 29 Number.prototype.__proto__ = String.prototype;
|
H A D | regress-1107.js | 31 Object.prototype.__defineGetter__(0, function(){});
|
H A D | regress-842.js | 28 // 842 describes a scenario where Object.prototype or Array.prototype is 32 Array.prototype.myfunc = function() {}; 33 Array.prototype[10] = 42; 34 Array.prototype.length = 3000;
|
H A D | regress-1121.js | 30 // Test that changing Array.prototype.__proto__ keeps Array functions working. 32 Array.prototype.__proto__ = null;
|
H A D | regress-1151.js | 32 __defineSetter__['prototype'] 35 eval['prototype'] = {}; 38 // on the actual prototype set using __proto__ on objects that has the 41 f.prototype = 43; 45 assertEquals(__defineGetter__.prototype, 43); 48 __defineGetter__.prototype = "foo"; 49 assertEquals(__defineGetter__.prototype, "foo");
|
H A D | regress-1447.js | 28 [0].forEach(function(){ Object.freeze(Array.prototype.forEach); }); 29 [0].every(function(){ Object.seal(Array.prototype.every); }); 33 [0].forEach(function(){ Object.freeze(Array.prototype.forEach); }); 34 [0].every(function(){ Object.seal(Array.prototype.every); });
|
H A D | regress-341.js | 33 F.prototype = 1;
|
H A D | regress-877615.js | 28 Number.prototype.toLocaleString = function() { return 'invalid'; }; 31 Number.prototype.toLocaleString = 'invalid'; 34 delete Number.prototype.toLocaleString; 35 Number.prototype.toString = function() { return 'invalid' };
|
H A D | regress-1218.js | 28 // Builtin functions should not have prototype objects. 29 assertFalse(Error.prototype.toString.hasOwnProperty("prototype"));
|
/external/chromium_org/v8/test/message/ |
H A D | overwritten-builtins.js | 28 String.prototype.split = function() { return "SPLIT ERROR"; }; 29 Array.prototype.join = function() { return []; };
|
/external/chromium_org/v8/test/webkit/ |
H A D | enter-dictionary-indexing-mode-with-blank-indexing-type.js | 28 // Freezing the Array prototype causes us to create ArrayStorage on the prototype, which has a blank indexing type. 29 Object.freeze(Array.prototype); 31 shouldBe("Object.isFrozen(Array.prototype)", "true");
|
H A D | primitive-method-this.js | 31 String.prototype.thisType = function() { return typeof this; }; 32 Number.prototype.thisType = function() { return typeof this; }; 33 Boolean.prototype.thisType = function() { return typeof this; };
|
H A D | concat-while-having-a-bad-time.js | 25 "Tests the behavior of Array.prototype.concat while the array is having a bad time due to one of the elements we are concatenating." 28 Object.defineProperty(Array.prototype, 0, { writable: false });
|
/external/chromium_org/v8/test/webkit/fast/js/ |
H A D | toString-overrides.js | 32 var backupNumberToString = Number.prototype.toString; 33 var backupNumberToLocaleString = Number.prototype.toLocaleString; 34 var backupRegExpToString = RegExp.prototype.toString; 35 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString; 38 Number.prototype.toString = function() { return "toString"; } 39 Number.prototype.toLocaleString = function() { return "toLocaleString"; } 40 RegExp.prototype.toString = function() { return "toString2"; } 41 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; } 46 Number.prototype.toLocaleString = "invalid"; 50 RegExp.prototype [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/tests/ |
H A D | proto.js | 18 DerivedBadProto.prototype = { 27 InterfaceWithProto.prototype = { 28 __proto__: Base.prototype 36 ProtoNoExtends.prototype = { 37 __proto__: Base.prototype 46 ProtoNotSameAsExtends.prototype = { 47 __proto__: Object.prototype 56 ProtoNotObjectLiteral.prototype = Object; 65 DerivedNoSuperCall.prototype = { 66 __proto__: Base.prototype [all...] |
/external/chromium_org/v8/test/mjsunit/ |
H A D | function-call.js | 30 [Object.prototype.toLocaleString, 31 Object.prototype.valueOf, 32 Object.prototype.hasOwnProperty, 33 Object.prototype.isPrototypeOf, 34 Object.prototype.propertyIsEnumerable, 35 Array.prototype.concat, 36 Array.prototype.join, 37 Array.prototype.pop, 38 Array.prototype.push, 39 Array.prototype [all...] |
H A D | getter-in-value-prototype.js | 33 String.prototype.__defineGetter__('x', function() { return this; });
|
/external/chromium_org/remoting/webapp/ |
H A D | plugin_settings.js | 23 remoting.Settings.prototype.OAUTH2_CLIENT_ID = 'API_CLIENT_ID'; 25 remoting.Settings.prototype.OAUTH2_CLIENT_SECRET = 'API_CLIENT_SECRET'; 28 remoting.Settings.prototype.OAUTH2_BASE_URL = 'OAUTH2_BASE_URL'; 30 remoting.Settings.prototype.OAUTH2_API_BASE_URL = 'OAUTH2_API_BASE_URL'; 32 remoting.Settings.prototype.DIRECTORY_API_BASE_URL = 'DIRECTORY_API_BASE_URL'; 34 remoting.Settings.prototype.TALK_GADGET_URL = 'TALK_GADGET_URL'; 36 remoting.Settings.prototype.OAUTH2_REDIRECT_URL = 'OAUTH2_REDIRECT_URL'; 39 remoting.Settings.prototype.DIRECTORY_BOT_JID = 'DIRECTORY_BOT_JID'; 43 remoting.Settings.prototype.XMPP_SERVER_ADDRESS = 'XMPP_SERVER_ADDRESS'; 45 remoting.Settings.prototype [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/liblouis_nacl/ |
H A D | externs.js | 22 NaClEmbedElement.prototype.postMessage = function(message) {};
|
/external/chromium_org/chrome/browser/resources/cryptotoken/ |
H A D | closeable.js | 17 Closeable.prototype.close = function() {};
|
H A D | individualattest.js | 23 IndividualAttestation.prototype.requestIndividualAttestation =
|
H A D | inherits.js | 17 tempCtor.prototype = parentCtor.prototype; 18 childCtor.prototype = new tempCtor; 19 childCtor.prototype.constructor = childCtor;
|
H A D | countdown.js | 22 Countdown.prototype.setTimeout = function(timeoutMillis, cb) {}; 25 Countdown.prototype.clearTimeout = function() {}; 30 Countdown.prototype.millisecondsUntilExpired = function() {}; 33 Countdown.prototype.expired = function() {}; 40 Countdown.prototype.clone = function(cb) {}; 54 CountdownFactory.prototype.createTimer = function(timeoutMillis, opt_cb) {};
|
/external/chromium_org/third_party/closure_compiler/externs/ |
H A D | pending_compiler_externs.js | 15 DOMImplementation.prototype.createHTMLDocument = function(opt_title) {};
|
/external/chromium_org/v8/test/intl/overrides/ |
H A D | webkit-tests.js | 30 // Handles fast/js/string-prototype-properties.html 31 assertThrows('String.prototype.localeCompare.call(undefined, \'1224\')'); 32 assertEquals(0, String.prototype.localeCompare.call(1224, '1224'));
|
Completed in 489 milliseconds
1234567891011>>