[Webkit-unassigned] [Bug 58762] localStorage string values truncated at \x00 characters on browser restart
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jul 13 13:40:59 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=58762
Jeremy Orlow <jorlow at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #100681|review?, commit-queue? |review+, commit-queue-
Flag| |
--- Comment #21 from Jeremy Orlow <jorlow at webkit.org> 2011-07-13 13:40:59 PST ---
(From update of attachment 100681)
View in context: https://bugs.webkit.org/attachment.cgi?id=100681&action=review
A few suggestions to make things more clear.
> Source/WebCore/storage/StorageAreaSync.cpp:276
> + SQLiteStatement query(m_database, "SELECT value FROM ItemTable LIMIT 1");
Add a comment to note that this query isn't ever executed.
> Source/WebCore/storage/StorageAreaSync.cpp:298
> + ASSERT_NOT_REACHED();
Maybe put this between the comment and the if statement since the comment partially explains this too.
> Source/WebCore/storage/StorageAreaSync.cpp:300
> + // finally it will try to save the ItemTable by renaming it, for manually restore in the future.
nit: It's nice to puse proper sentences.
> Source/WebCore/storage/StorageAreaSync.cpp:301
> + // NOTICE: this will eventually DELETE the current database, but that's better
Did you mean "essentially"?
--
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