[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 07:29:20 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit d67ad5fde2d5f3df4e5d2237404d3927d2e1fcb8
Author: trey <trey at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Mar 12 22:09:16 2003 +0000
WebCore:
3190784 REGRESSION: crash in KWQListIteratorImpl in form completion code at sonyericsson.com page
Don't crash on an input element with no enclosing form.
* kwq/WebCoreBrid
(-[WebCoreBridge formForElement:]): Gracefully bail on !form.
WebBrowser:
3190784 REGRESSION: crash in KWQListIteratorImpl in form completion code at sonyericsson.com page
Don't crash on an input element with no enclosing form.
Reviewed by Chris.
* FormCompletionController.m:
(-[FormCompletionController initWithSourceField:frame:]):
Bail out if form==nil.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3809 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 4a69b37..8b744cd 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,3 +1,12 @@
+2003-03-12 Trey Matteson <trey at apple.com>
+
+ 3190784 REGRESSION: crash in KWQListIteratorImpl in form completion code at sonyericsson.com page
+
+ Don't crash on an input element with no enclosing form.
+
+ * kwq/WebCoreBrid
+ (-[WebCoreBridge formForElement:]): Gracefully bail on !form.
+
2003-03-11 David Hyatt <hyatt at apple.com>
Fix for tantek's slides, this is an issue on diveintomark's
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 4a69b37..8b744cd 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,12 @@
+2003-03-12 Trey Matteson <trey at apple.com>
+
+ 3190784 REGRESSION: crash in KWQListIteratorImpl in form completion code at sonyericsson.com page
+
+ Don't crash on an input element with no enclosing form.
+
+ * kwq/WebCoreBrid
+ (-[WebCoreBridge formForElement:]): Gracefully bail on !form.
+
2003-03-11 David Hyatt <hyatt at apple.com>
Fix for tantek's slides, this is an issue on diveintomark's
diff --git a/WebCore/kwq/WebCoreBridge.mm b/WebCore/kwq/WebCoreBridge.mm
index 0bab3ac..7d85c62 100644
--- a/WebCore/kwq/WebCoreBridge.mm
+++ b/WebCore/kwq/WebCoreBridge.mm
@@ -508,7 +508,13 @@ static HTMLFormElementImpl *formElementFromDOMElement(id <WebDOMElement>element)
- (id <WebDOMElement>)formForElement:(id <WebDOMElement>)element;
{
HTMLInputElementImpl *inputElement = inputElementFromDOMElement(element);
- return inputElement ? [WebCoreDOMElement elementWithImpl:inputElement->form()] : nil;
+ if (inputElement) {
+ HTMLFormElementImpl *formElement = inputElement->form();
+ if (formElement) {
+ return [WebCoreDOMElement elementWithImpl:formElement];
+ }
+ }
+ return nil;
}
- (id <WebDOMElement>)currentForm
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list