-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=75975 Reviewed by Sam Weinig. Source/JavaScriptCore: Rather than strictEqual. * runtime/JSArray.cpp: (JSC::JSArray::defineOwnNumericProperty): - Missing configurablePresent() check. * runtime/JSObject.cpp: (JSC::JSObject::defineOwnProperty): - call sameValue. * runtime/PropertyDescriptor.cpp: (JSC::sameValue): - Moved from JSArray.cpp, fix NaN comparison. (JSC::PropertyDescriptor::equalTo): - call sameValue. * runtime/PropertyDescriptor.h: - Added declaration for sameValue. LayoutTests: * fast/js/array-defineOwnProperty-expected.txt: * fast/js/script-tests/array-defineOwnProperty.js: - Add new test cases. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
beb7f228