-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=120317 Reviewed by Oliver Hunt. This will call accessors on the JSObject/JSArray prototypes - so adding an accessor or read-only property called index or input to either of these prototypes will result in broken behavior. Source/JavaScriptCore: * runtime/RegExpMatchesArray.cpp: (JSC::RegExpMatchesArray::reifyAllProperties): - put -> putDirect LayoutTests: * fast/regex/lastIndex-expected.txt: * fast/regex/script-tests/lastIndex.js: - Added test git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
49a919a4