Accessing the returnValue of a modal dialog should be performed directly on the globa...
authoroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Apr 2012 01:03:25 +0000 (01:03 +0000)
committeroliver@apple.com <oliver@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 7 Apr 2012 01:03:25 +0000 (01:03 +0000)
commitaced271f296c4a7aa40a7c10c3864f00635f85fa
treeb8c19eade1d59177e83efe6bc30566e4bb8e2a70
parentcdd36d09b300181e350458099a285b3ff23e8e6d
Accessing the returnValue of a modal dialog should be performed directly on the global object.
https://bugs.webkit.org/show_bug.cgi?id=83414

Reviewed by Gavin Barraclough.

Presumably during the mass-devirtualising of JSObject, this deliberate use of
the GlobalObject's property lookup logic directly was replaced with a dynamic
call.  That results in the DOMWindow filtering out the lookup.  This regression
was masked by r93567.

* bindings/js/JSDOMWindowCustom.cpp:
(WebCore::DialogHandler::returnValue):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/bindings/js/JSDOMWindowCustom.cpp