aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyBrowser.cpp
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2004-06-09 01:53:10 +0800
committerChristian Persch <chpe@src.gnome.org>2004-06-09 01:53:10 +0800
commit547e14396402130368dfa0b744b81e00cb726861 (patch)
treeba64ac27bc0bbab7ff1e30a680a97b007d039a56 /embed/mozilla/EphyBrowser.cpp
parent6ebb79fb36aa6dc04302bad4dc65d557b3da3f58 (diff)
downloadgsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.tar
gsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.tar.gz
gsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.tar.bz2
gsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.tar.lz
gsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.tar.xz
gsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.tar.zst
gsoc2013-epiphany-547e14396402130368dfa0b744b81e00cb726861.zip
Adjust comment about mozilla bug #232057, which was WONTFIXed.
2004-06-08 Christian Persch <chpe@cvs.gnome.org> * embed/mozilla/EphyBrowser.cpp: Adjust comment about mozilla bug #232057, which was WONTFIXed.
Diffstat (limited to 'embed/mozilla/EphyBrowser.cpp')
-rw-r--r--embed/mozilla/EphyBrowser.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/embed/mozilla/EphyBrowser.cpp b/embed/mozilla/EphyBrowser.cpp
index 0205d376e..066532790 100644
--- a/embed/mozilla/EphyBrowser.cpp
+++ b/embed/mozilla/EphyBrowser.cpp
@@ -769,10 +769,9 @@ nsresult EphyBrowser::GetDocumentHasModifiedForms (nsIDOMDocument *aDomDoc, PRUi
inputElement->GetValue (userText);
inputElement->GetMaxLength (&max_length);
- /* Guard against arguably broken forms where
- * defaultText is longer than maxlength
- * (userText is cropped, defaultText is not)
- * Mozilla bug 232057
+ /* There are forms for which defaultValue is longer than
+ * userValue. Mozilla consider this not a bug [see WONTFIXed
+ * bug 232057], but we need to check for this here.
*/
if (defaultText.Length() > (PRUint32)max_length)
{