- Refactors the _editDraft property of gr-diff-comment to _messageText. - Renames the gr-storage element as instantiated in gr-diff-comment from "localStorage" to "storage". - The gr-storage diff comment functions are refactored to include "comment" in their names and to accept a location object rather than 4 separate arguments. - Added a comment describing the use of a promise in the _loadLocalDraft method of gr-diff-comment. - Throttled the invocation of the _cleanupDrafts method of gr-storage to avoid potentially expensive crawls over all localStorage entries. - Various other smaller fixes. Bug: Issue 3787 Change-Id: Idf96051c0d56d6ce8b15f55ca2680363bd1ca805
8.9 KiB
8.9 KiB