aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
Diffstat (limited to 'embed')
-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)
{