-
fpizlo@apple.com authored
Read-only properties created with putDirect() should tell the structure that there are read-only properties https://bugs.webkit.org/show_bug.cgi?id=102292 Reviewed by Gavin Barraclough. Source/JavaScriptCore: This mostly affects things like function.length. * runtime/JSObject.h: (JSC::JSObject::putDirectInternal): LayoutTests: * fast/js/function-dot-length-read-only-expected.txt: Added. * fast/js/function-dot-length-read-only.html: Added. * fast/js/jsc-test-list: * fast/js/script-tests/function-dot-length-read-only.js: Added. (foo): (Bar): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134695 268f45cc-cd09-0410-ab3c-d52691b4dbfc
eaa6482d