[Webkit-unassigned] [Bug 80145] New: FileInputType doesn't support (save|restore)FormControlState
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 2 04:13:14 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=80145
Summary: FileInputType doesn't support
(save|restore)FormControlState
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: marja at chromium.org
CC: jochen at chromium.org
This prevents Chrome from saving and restoring selected files in an unsubmitted form.
InputType::saveFormControlState() calls HTMLInputElement::value() which calls FileInputType::getTypeSpecificValue(). This function returns a fake file path.
InputType::restoreFormControlState() calls HTMLInputElement::setValue() which doesn't allow setting the value, since FileInputType::canSetValue() returns false.
I'll attach a patch.
--
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