RESOLVED FIXED 89628
Make FormControlState capable to store multiple values
https://bugs.webkit.org/show_bug.cgi?id=89628
Summary Make FormControlState capable to store multiple values
Kent Tamura
Reported 2012-06-20 18:44:55 PDT
FileInputType::saveFormControlState: // FIXME: FormControlState should be capable to have multiple strings and we // should stop the following ugly string concatenation. StringBuilder result; unsigned numFiles = m_fileList->length(); for (unsigned i = 0; i < numFiles; ++i) { result.append(m_fileList->item(i)->path()); result.append('\1'); result.append(m_fileList->item(i)->name()); result.append('\0'); } We resolve this FIXME in this bug.
Attachments
Patch (13.65 KB, patch)
2012-06-20 20:19 PDT, Kent Tamura
no flags
Kent Tamura
Comment 1 2012-06-20 20:19:03 PDT
WebKit Review Bot
Comment 2 2012-06-21 22:36:44 PDT
Comment on attachment 148719 [details] Patch Clearing flags on attachment: 148719 Committed r121004: <http://trac.webkit.org/changeset/121004>
WebKit Review Bot
Comment 3 2012-06-21 22:36:49 PDT
All reviewed patches have been landed. Closing bug.
Jessie Berlin
Comment 4 2012-06-22 09:49:32 PDT
(In reply to comment #2) > (From update of attachment 148719 [details]) > Clearing flags on attachment: 148719 > > Committed r121004: <http://trac.webkit.org/changeset/121004> This broke the i386 build: Source/WebCore/html/FormController.cpp:62:36: error: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'size_t' (aka 'unsigned long') [-Werror,-Wshorten-64-to-32] state.m_values.reserveCapacity(valueSize); ~~~~~ ^~~~~~~~~
David Kilzer (:ddkilzer)
Comment 5 2012-06-22 09:50:33 PDT
(In reply to comment #2) > (From update of attachment 148719 [details]) > Clearing flags on attachment: 148719 > > Committed r121004: <http://trac.webkit.org/changeset/121004> This caused a build failure on 32-bit architectures. Follow-up build fix in r121032. <http://trac.webkit.org/changeset/121032>
Kent Tamura
Comment 6 2012-06-24 17:30:01 PDT
(In reply to comment #5) > > Committed r121004: <http://trac.webkit.org/changeset/121004> > > This caused a build failure on 32-bit architectures. Follow-up build fix in r121032. > > <http://trac.webkit.org/changeset/121032> Thank you for the fix! We should have a 32 bit EWS.
Note You need to log in before you can comment on or make changes to this bug.