/external/webkit/Source/JavaScriptCore/runtime/ |
StructureChain.h | 49 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) { return Structure::create(globalData, prototype, TypeInfo(CompoundType, OverridesMarkChildren), 0, &s_info); }
|
NativeErrorConstructor.cpp | 40 NativeErrorPrototype* prototype = new (exec) NativeErrorPrototype(exec, globalObject, prototypeStructure, nameAndMessage, this); local 43 putDirect(exec->globalData(), exec->propertyNames().prototype, prototype, DontDelete | ReadOnly | DontEnum); 44 m_errorStructure.set(exec->globalData(), this, ErrorInstance::createStructure(exec->globalData(), prototype));
|
/external/webkit/Source/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...] |
15.4.2.1-3.js | 28 The [[Prototype]] property of the newly constructed 29 object is set to the original Array prototype object, 30 the one that is the initial value of Array.prototype 87 array[item++] = new TestCase( SECTION, "TEST_ARRAY.toString", Array.prototype.toString, TEST_ARRAY.toString ); 88 array[item++] = new TestCase( SECTION, "TEST_ARRAY.join", Array.prototype.join, TEST_ARRAY.join ); 89 array[item++] = new TestCase( SECTION, "TEST_ARRAY.sort", Array.prototype.sort, TEST_ARRAY.sort ); 90 array[item++] = new TestCase( SECTION, "TEST_ARRAY.reverse", Array.prototype.reverse, TEST_ARRAY.reverse ); 93 "TEST_ARRAY.toString = Object.prototype.toString; TEST_ARRAY.toString()", 95 eval("TEST_ARRAY.toString = Object.prototype.toString; TEST_ARRAY.toString()") );
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma/Boolean/ |
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/Source/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/Source/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/Source/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/Source/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/Source/WebCore/bindings/js/ |
JSWorkerContextBase.h | 52 static JSC::Structure* createStructure(JSC::JSGlobalData& globalData, JSC::JSValue prototype) 54 return JSC::Structure::create(globalData, prototype, JSC::TypeInfo(JSC::ObjectType, StructureFlags), AnonymousSlotCount, &s_info); 62 // Always ignores the execState and passed globalObject, WorkerContext is itself a globalObject and will always use its own prototype chain.
|
/external/webkit/Source/WebCore/bindings/v8/ |
WorkerScriptDebugServer.cpp | 53 v8::Handle<v8::Object> prototype = v8::Handle<v8::Object>::Cast(global->GetPrototype()); local 54 ASSERT(!prototype.IsEmpty()); 56 prototype = v8::Handle<v8::Object>::Cast(prototype->GetPrototype()); 57 ASSERT(!prototype.IsEmpty()); 59 WrapperTypeInfo* typeInfo = V8DOMWrapper::domWrapperType(prototype); 61 return V8DedicatedWorkerContext::toNative(prototype); 63 return V8SharedWorkerContext::toNative(prototype);
|
/external/webkit/Source/WebCore/bridge/ |
runtime_method.h | 48 static Structure* createStructure(JSGlobalData& globalData, JSValue prototype) 50 return Structure::create(globalData, prototype, TypeInfo(ObjectType, StructureFlags), AnonymousSlotCount, &s_info);
|
/external/v8/test/mjsunit/ |
regexp-string-methods.js | 28 // Regexp shouldn't use String.prototype.slice() 31 String.prototype.slice = function() { return "x"; }; 35 // Regexp shouldn't use String.prototype.charAt() 39 String.prototype.charAt = function(idx) { return 'g'; }; 47 // We match other browsers in using the original value of RegExp.prototype.exec. 48 // I.e., RegExp.prototype.test shouldn't use the current value of 49 // RegExp.prototype.exec. 50 RegExp.prototype.exec = function(string) { return 'x'; };
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_3/inherit/ |
proto_11.js | 32 This tests the syntax ObjectName.prototype = new PrototypeObject using the 58 Manager.prototype = new Employee(); 65 WorkerBee.prototype = new Employee(); 71 SalesPerson.prototype = new WorkerBee(); 78 Engineer.prototype = new WorkerBee();
|
/external/webkit/Source/WebCore/inspector/front-end/ |
NetworkItemView.js | 71 WebInspector.NetworkItemView.prototype = { 74 WebInspector.View.prototype.show.call(this, parentElement); 102 WebInspector.NetworkItemView.prototype.__proto__ = WebInspector.View.prototype;
|
PanelEnablerView.js | 76 WebInspector.PanelEnablerView.prototype = { 84 WebInspector.View.prototype.show.call(this, parentElement); 102 WebInspector.PanelEnablerView.prototype.__proto__ = WebInspector.View.prototype;
|
Settings.js | 79 WebInspector.Settings.prototype = { 108 WebInspector.Settings.prototype.__proto__ = WebInspector.Object.prototype;
|
ShowMoreDataGridNode.js | 56 WebInspector.ShowMoreDataGridNode.prototype = { 78 WebInspector.ShowMoreDataGridNode.prototype.__proto__ = WebInspector.DataGridNode.prototype;
|
TabbedPane.js | 40 WebInspector.TabbedPane.prototype = { 86 WebInspector.TabbedPane.prototype.__proto__ = WebInspector.Object.prototype;
|
WelcomeView.js | 58 WebInspector.WelcomeView.prototype = { 73 WebInspector.WelcomeView.prototype.__proto__ = WebInspector.View.prototype;
|
utilities.js | 32 Function.prototype.bind = function(thisObject) 35 var args = Array.prototype.slice.call(arguments, 1); 38 return func.apply(thisObject, args.concat(Array.prototype.slice.call(arguments, 0))); 46 Node.prototype.rangeOfWord = function(offset, stopCharacters, stayWithinNode, direction) 133 Node.prototype.traverseNextTextNode = function(stayWithin) 145 Node.prototype.rangeBoundaryForOffset = function(offset) 157 Element.prototype.removeStyleClass = function(className) 162 Element.prototype.removeMatchingStyleClasses = function(classNameRegex) 169 Element.prototype.addStyleClass = function(className) 174 Element.prototype.hasStyleClass = function(className) [all...] |
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Exceptions/ |
15.11.7.6-002.js | 38 * SUMMARY: Prototype of predefined error objects should be DontDelete 45 var summary = 'Prototype of predefined error objects should be DontDelete'; 55 * 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|';
|
15.11.7.6-003.js | 38 * SUMMARY: Prototype of predefined error objects should be ReadOnly 45 var summary = 'Prototype of predefined error objects should be ReadOnly'; 55 * 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/chromium/chrome/browser/resources/net_internals/ |
sourceentry.js | 23 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.setSelected = function(isSelected) [all...] |