[Webkit-unassigned] [Bug 90259] New: <textarea> unnecessarily saves the value in some cases

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 29 01:45:47 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=90259

           Summary: <textarea> unnecessarily saves the value in some cases
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: tkent at chromium.org
            Blocks: 23346


HTMLTextAreaElement::saveFormControlState() has a code like:

    if (currentValue == defaultValue())
        return FormControlState();

It's wrong because
 - We don't apply EOL normalization to defaultValue(), though does it to currentValue.
 - currentValue can be a null string.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list