Skip to content
  • darin's avatar
    Reviewed by Anders. · 7a4828e0
    darin authored
            - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=9622
              showModalDialog returnValue ignored, function result is always "undefined"
    
            * manual-tests/modal-dialog.html: Added.
            * manual-tests/show-modal-dialog-test.html: Added.
    
            * page/Frame.cpp: (WebCore::Frame::clear): Call KJSProxy::clear with the
            clearWindowProperties parameter instead of not calling it at all when
            clearWindowProperties is false.
    
            * bindings/js/kjs_proxy.h: Add boolean clearWindowProperties parameter.
            * bindings/js/kjs_proxy.cpp: (WebCore::KJSProxy::clear): Pass clearWindowProperties
            variable through to Window::clear instead of not calling it at all.
    
            * bindings/js/kjs_window.h: Add boolean clearWindowProperties parameter.
            * bindings/js/kjs_window.cpp: (KJS::Window::clear): If clearWindowProperties
            is false, do only the returnValue work, not the rest of the work.
    
            * manual-tests/modal-dialog.html: Added.
            * manual-tests/show-modal-dialog-test.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    7a4828e0