-
oliver@apple.com authored
Reviewed by Darin Adler. Allow defineOwnProperty to work on DOMObjects https://bugs.webkit.org/show_bug.cgi?id=57129 Now we disallow the cross origin accesses, rather than just disallowing the defineOwnProperty at all. * http/tests/security/xss-DENIED-defineProperty-expected.txt: 2011-03-25 Oliver Hunt <oliver@apple.com> Reviewed by Darin Adler. Allow defineOwnProperty to work on DOMObjects https://bugs.webkit.org/show_bug.cgi?id=57129 Fix a couple of places where we uses getter()/setter() rather than [gs]etterPresent(). * runtime/JSObject.cpp: (JSC::JSObject::defineOwnProperty): 2011-03-25 Oliver Hunt <oliver@apple.com> Reviewed by Darin Adler. Allow defineOwnProperty to work on DOMObjects https://bugs.webkit.org/show_bug.cgi?id=57129 As other engines are allowing defineOwnProperty to be applied to host objects there's no reason for us to retain this restriction. * bindings/js/JSDOMWrapper.cpp: * bindings/js/JSDOMWrapper.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
88dd15cc