Skip to content
  • eric@webkit.org's avatar
    2010-04-28 Abhishek Arya <inferno@chromium.org> · 76ab29f0
    eric@webkit.org authored
            Reviewed by Eric Seidel.
    
            Tests for a crash when an image drag-drop operation happens inside a continuously refreshing iframe.
            https://bugs.webkit.org/show_bug.cgi?id=37618
    
            * editing/pasteboard/drag-drop-iframe-refresh-crash-expected.txt: Added.
            * editing/pasteboard/drag-drop-iframe-refresh-crash.html: Added.
            * editing/resources/drag-drop.html: Added.
    2010-04-28  Abhishek Arya  <inferno@chromium.org>
    
            Reviewed by Eric Seidel.
    
            Convert m_documentUnderMouse, m_dragInitiator to RefPtr.
            Eliminated unused m_dragInitiator accessor to prevent dereferencing.
            https://bugs.webkit.org/show_bug.cgi?id=37618
    
            Test: editing/pasteboard/drag-drop-iframe-refresh-crash.html
    
            * page/DragController.cpp:
            (WebCore::DragController::tryDocumentDrag):
            (WebCore::DragController::concludeEditDrag):
            * page/DragController.h:
            (WebCore::DragController::draggingImageURL):
            (WebCore::DragController::documentUnderMouse):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    76ab29f0