Changeset 88315 in webkit
- Timestamp:
- Jun 7, 2011 7:09:12 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r88309 r88315 1 2011-06-07 Gavin Barraclough <barraclough@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 https://bugs.webkit.org/show_bug.cgi?id=55537 6 Functions claim to have 'callee' which they actually don't (and shouldn't) 7 8 * fast/js/Object-getOwnPropertyNames-expected.txt: 9 * fast/js/script-tests/Object-getOwnPropertyNames.js: 10 1 11 2011-06-07 James Kozianski <koz@chromium.org> 2 12 -
trunk/LayoutTests/fast/js/Object-getOwnPropertyNames-expected.txt
r80378 r88315 12 12 PASS getSortedOwnPropertyNames(Object.create({}, { 'a': { 'value': 1, 'enumerable': false } })) is ['a'] 13 13 PASS getSortedOwnPropertyNames(Object.create([1,2,3], { 'a': { 'value': 1, 'enumerable': false } })) is ['a'] 14 PASS getSortedOwnPropertyNames(new Function()) is ['arguments', 'calle e', 'caller', 'length', 'name', 'prototype']15 PASS getSortedOwnPropertyNames((function(){var x=new Function();x.__proto__=[1,2,3];return x;})()) is ['arguments', 'calle e', 'caller', 'length', 'name', 'prototype']14 PASS getSortedOwnPropertyNames(new Function()) is ['arguments', 'caller', 'length', 'name', 'prototype'] 15 PASS getSortedOwnPropertyNames((function(){var x=new Function();x.__proto__=[1,2,3];return x;})()) is ['arguments', 'caller', 'length', 'name', 'prototype'] 16 16 PASS getSortedOwnPropertyNames(new String('')) is ['length'] 17 17 PASS getSortedOwnPropertyNames(new String('a')) is ['0', 'length'] -
trunk/LayoutTests/fast/js/script-tests/Object-getOwnPropertyNames.js
r80378 r88315 13 13 "Object.create([1,2,3], { 'a': { 'value': 1, 'enumerable': false } })": "['a']", 14 14 // Function objects 15 "new Function()": "['arguments', 'calle e', 'caller', 'length', 'name', 'prototype']",16 "(function(){var x=new Function();x.__proto__=[1,2,3];return x;})()": "['arguments', 'calle e', 'caller', 'length', 'name', 'prototype']",15 "new Function()": "['arguments', 'caller', 'length', 'name', 'prototype']", 16 "(function(){var x=new Function();x.__proto__=[1,2,3];return x;})()": "['arguments', 'caller', 'length', 'name', 'prototype']", 17 17 // String objects 18 18 "new String('')": "['length']", -
trunk/Source/JavaScriptCore/ChangeLog
r88313 r88315 1 2011-06-07 Gavin Barraclough <barraclough@apple.com> 2 3 Reviewed by Sam Weinig 4 5 https://bugs.webkit.org/show_bug.cgi?id=55537 6 Functions claim to have 'callee' which they actually don't (and shouldn't) 7 8 * JavaScriptCore.xcodeproj/project.pbxproj: 9 * runtime/JSFunction.cpp: 10 (JSC::JSFunction::getOwnPropertyNames): 11 1 12 2011-06-07 Juan C. Montemayor <jmont@apple.com> 2 13 -
trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
r88076 r88315 787 787 1482B7E10A43076000517CFC /* JSObjectRef.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSObjectRef.h; sourceTree = "<group>"; }; 788 788 1482B7E20A43076000517CFC /* JSObjectRef.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSObjectRef.cpp; sourceTree = "<group>"; }; 789 1483B589099BC1950016E4F0 /* JSImmediate.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = JSImmediate.h; sourceTree = "<group>"; };790 789 148A1626095D16BB00666D0D /* ListRefPtr.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = ListRefPtr.h; sourceTree = "<group>"; }; 791 790 148A1ECD0D10C23B0069A47C /* RefPtrHashMap.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RefPtrHashMap.h; sourceTree = "<group>"; }; … … 1891 1890 BC756FC60E2031B200DE7D12 /* JSGlobalObjectFunctions.cpp */, 1892 1891 BC756FC70E2031B200DE7D12 /* JSGlobalObjectFunctions.h */, 1893 1483B589099BC1950016E4F0 /* JSImmediate.h */,1894 1892 65EA4C99092AF9E20093D800 /* JSLock.cpp */, 1895 1893 65EA4C9A092AF9E20093D800 /* JSLock.h */, -
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r87826 r88315 281 281 282 282 propertyNames.add(exec->propertyNames().arguments); 283 propertyNames.add(exec->propertyNames().callee);284 283 propertyNames.add(exec->propertyNames().caller); 285 284 propertyNames.add(exec->propertyNames().length);
Note: See TracChangeset
for help on using the changeset viewer.