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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:14:21 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 104ef9d302d0310014ac3bec0872296fa254bd9e
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Dec 12 19:46:08 2002 +0000

            Reviewed by Ken.
    
    	- fixed 3125886 -- Failure to set document onkeypress handler causes return key to submit forms incorrectly
    
    	The handler was getting ignored because the property setting code never got to the DOMNode level.
    
            * khtml/ecma/kjs_dom.cpp: (DOMDocument::tryPut): Pass correct parent class, DOMNode, instead
    	of DOMObject. By passing DOMObject, we skipped all the properties inherited from DOMNode,
    	including onkeypress.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3022 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 900f70e..4de27c0 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,17 @@
 2002-12-12  Darin Adler  <darin at apple.com>
 
+        Reviewed by Ken.
+
+	- fixed 3125886 -- Failure to set document onkeypress handler causes return key to submit forms incorrectly
+
+	The handler was getting ignored because the property setting code never got to the DOMNode level.
+
+        * khtml/ecma/kjs_dom.cpp: (DOMDocument::tryPut): Pass correct parent class, DOMNode, instead
+	of DOMObject. By passing DOMObject, we skipped all the properties inherited from DOMNode,
+	including onkeypress.
+
+2002-12-12  Darin Adler  <darin at apple.com>
+
         Reviewed by Trey and Ken.
 
 	- fixed 3125613 -- REGRESSION: resizing frames after clicking on scroll bar doesn't work right
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 900f70e..4de27c0 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,17 @@
 2002-12-12  Darin Adler  <darin at apple.com>
 
+        Reviewed by Ken.
+
+	- fixed 3125886 -- Failure to set document onkeypress handler causes return key to submit forms incorrectly
+
+	The handler was getting ignored because the property setting code never got to the DOMNode level.
+
+        * khtml/ecma/kjs_dom.cpp: (DOMDocument::tryPut): Pass correct parent class, DOMNode, instead
+	of DOMObject. By passing DOMObject, we skipped all the properties inherited from DOMNode,
+	including onkeypress.
+
+2002-12-12  Darin Adler  <darin at apple.com>
+
         Reviewed by Trey and Ken.
 
 	- fixed 3125613 -- REGRESSION: resizing frames after clicking on scroll bar doesn't work right
diff --git a/WebCore/khtml/ecma/kjs_dom.cpp b/WebCore/khtml/ecma/kjs_dom.cpp
index c69ca1d..a4f41f5 100644
--- a/WebCore/khtml/ecma/kjs_dom.cpp
+++ b/WebCore/khtml/ecma/kjs_dom.cpp
@@ -746,8 +746,7 @@ void DOMDocument::tryPut(ExecState *exec, const Identifier& propertyName, const
 #ifdef KJS_VERBOSE
   kdDebug(6070) << "DOMDocument::tryPut " << propertyName.qstring() << endl;
 #endif
-  DOMObjectLookupPut<DOMDocument,DOMObject>(exec, propertyName, value, attr,
-					    &DOMDocumentTable, this );
+  DOMObjectLookupPut<DOMDocument,DOMNode>(exec, propertyName, value, attr, &DOMDocumentTable, this );
 }
 
 void DOMDocument::putValue(ExecState *exec, int token, const Value& value, int /*attr*/)

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list