-
barraclough@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=69393 Reviewed by Sam Weinig. Source/JavaScriptCore: The rest of Object.prototype no longer substitute Null/Undefined with the global object, this is old ES3 behaviour. Remove it here too. * runtime/ObjectPrototype.cpp: (JSC::objectProtoFuncDefineGetter): (JSC::objectProtoFuncDefineSetter): (JSC::objectProtoFuncLookupGetter): (JSC::objectProtoFuncLookupSetter): LayoutTests: Update tests to conform with ES5 style handling of 'this' in host functions. * fast/dom/Window/Location/window-override-location-using-defineGetter.html: * fast/dom/Window/Location/window-override-window-using-defineGetter.html: * fast/js/exception-sequencing-binops.js: * fast/js/exception-sequencing.html: * fast/js/pic/delete-global-object.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@96729 268f45cc-cd09-0410-ab3c-d52691b4dbfc
5fce3c8e