Skip to content
  • ggaren@apple.com's avatar
    WebCore: · 1625e181
    ggaren@apple.com authored
    2009-05-21  Geoffrey Garen  <ggaren@apple.com>
    
            Reviewed by Sam Weinig.
            
            Test for <rdar://problem/6910832> | https://bugs.webkit.org/show_bug.cgi?id=25907
            Incorrect URL returned to the DOM while the user drags a file
    
            * page/DragController.cpp:
            (WebCore::DragController::dragExited):
            (WebCore::DragController::tryDHTMLDrag): Don't base our decision on KURL,
            since that only looks at the text of the document's URL. Do base our
            decision on the securityOrigin(), which knows more about the document's
            actual origin.
    
    LayoutTests:
    
    2009-05-21  Geoffrey Garen  <ggaren@apple.com>
    
            Reviewed by Sam Weinig.
            
            Tests for <rdar://problem/6910832> | https://bugs.webkit.org/show_bug.cgi?id=25907
            Incorrect URL returned to the DOM while the user drags a file
    
            * http/tests/local/drag-over-remote-content-expected.txt: Added.
            * http/tests/local/drag-over-remote-content.html: Added.
            * http/tests/security/drag-over-remote-content-iframe-expected.txt: Added.
            * http/tests/security/drag-over-remote-content-iframe.html: Added.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@44010 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    1625e181
ChangeLog 3.6 MiB