WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
90259
Textarea unnecessarily saves the value in some cases
https://bugs.webkit.org/show_bug.cgi?id=90259
Summary
Textarea unnecessarily saves the value in some cases
Kent Tamura
Reported
2012-06-29 01:45:46 PDT
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.
Attachments
Patch
(4.68 KB, patch)
2012-06-29 02:10 PDT
,
Kent Tamura
no flags
Details
Formatted Diff
Diff
Patch for landing
(4.70 KB, patch)
2012-06-29 02:22 PDT
,
Kent Tamura
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kent Tamura
Comment 1
2012-06-29 02:09:14 PDT
Rename the title because webkit-patch can't handle <textarea> in the title.
Kent Tamura
Comment 2
2012-06-29 02:10:06 PDT
Created
attachment 150117
[details]
Patch
Hajime Morrita
Comment 3
2012-06-29 02:18:08 PDT
Comment on
attachment 150117
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=150117&action=review
Code is OK. added some nits.
> LayoutTests/fast/forms/textarea/textarea-state-restore.html:16 > + document.write('<div id=parent><form id=form1 action="data:text/html,<script>history.back()</script>">');
Could the test data more readable? It's hard to see compare HTML between two stages. I think it's better to have small duplication to improve readability.
Kent Tamura
Comment 4
2012-06-29 02:22:37 PDT
Created
attachment 150119
[details]
Patch for landing Improve readability of the test code
WebKit Review Bot
Comment 5
2012-06-29 05:09:08 PDT
Comment on
attachment 150119
[details]
Patch for landing Clearing flags on attachment: 150119 Committed
r121552
: <
http://trac.webkit.org/changeset/121552
>
WebKit Review Bot
Comment 6
2012-06-29 05:09:12 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug