fix more obvious global object lookups This patch will be the untestable (or at least very difficult to test) prototype lookups. The remaining pieces of bug 27634 will all need tests.
Created attachment 33582 [details] patch
Comment on attachment 33582 [details] patch Ok. The ones that use global execs probably don't have any observable change. The ones about wrapping the events, you might be able to test with page-created events and synchronous dispatching, but I'm not sure.
Committing to http://svn.webkit.org/repository/webkit/trunk ... M WebCore/ChangeLog M WebCore/bindings/js/JSDOMWindowBase.cpp M WebCore/bindings/js/JSDataGridColumnListCustom.cpp M WebCore/bindings/js/JSEventListener.cpp M WebCore/bindings/js/JSEventTarget.cpp M WebCore/bindings/js/JSHTMLElementCustom.cpp M WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp M WebCore/bindings/js/JSLazyEventListener.cpp M WebCore/bindings/js/ScriptController.cpp M WebCore/bindings/js/ScriptEventListener.cpp M WebCore/bindings/js/ScriptObject.cpp M WebCore/bindings/js/ScriptObjectQuarantine.cpp M WebCore/bindings/objc/DOMInternal.mm Committed r46444 M WebCore/ChangeLog M WebCore/bindings/js/ScriptEventListener.cpp M WebCore/bindings/js/JSDataGridColumnListCustom.cpp M WebCore/bindings/js/JSEventListener.cpp M WebCore/bindings/js/ScriptObject.cpp M WebCore/bindings/js/JSHTMLElementCustom.cpp M WebCore/bindings/js/JSLazyEventListener.cpp M WebCore/bindings/js/JSDOMWindowBase.cpp M WebCore/bindings/js/ScriptController.cpp M WebCore/bindings/js/ScriptObjectQuarantine.cpp M WebCore/bindings/js/JSHTMLOptionsCollectionCustom.cpp M WebCore/bindings/js/JSEventTarget.cpp M WebCore/bindings/objc/DOMInternal.mm r46444 = 8568d33f7c41bbcda2101e2710d3cf1c6f917fa2 (trunk) No changes between current HEAD and refs/remotes/trunk Resetting to the latest refs/remotes/trunk http://trac.webkit.org/changeset/46444
Pretty sure bug 26520 was an observable symptom of this changeset.