[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

trey trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:47:48 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 59a83414c7325801651f0eff445dab49e6f4d879
Author: trey <trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Jun 18 23:58:14 2004 +0000

    	3702053 - DHTML dragging destination can't control the cursor (by setting the drop operation)
    
    	Fallout from security work, but an easy fix.
    
            Reviewed by Darin
    
            * kwq/KWQClipboard.mm:
            (KWQClipboard::setDropEffect):  Allow dest side to set dropEffect.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6888 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 0685447..9baad10 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,14 @@
+2004-06-18  Trey Matteson  <trey at apple.com>
+
+	3702053 - DHTML dragging destination can't control the cursor (by setting the drop operation)
+
+	Fallout from security work, but an easy fix.
+
+        Reviewed by Darin
+
+        * kwq/KWQClipboard.mm:
+        (KWQClipboard::setDropEffect):  Allow dest side to set dropEffect.
+
 2004-06-18  Darin Adler  <darin at apple.com>
 
         Reviewed by John.
diff --git a/WebCore/kwq/KWQClipboard.mm b/WebCore/kwq/KWQClipboard.mm
index 963b08f..d9b0f10 100644
--- a/WebCore/kwq/KWQClipboard.mm
+++ b/WebCore/kwq/KWQClipboard.mm
@@ -336,7 +336,7 @@ DOM::DOMString KWQClipboard::dropEffect() const
 
 void KWQClipboard::setDropEffect(const DOM::DOMString &s)
 {
-    if (m_policy == Writable) {
+    if (m_policy == Readable || m_policy == TypesReadable) {
         m_dropEffect = s;
     }
 }

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list