Closed
Bug 1365150
Opened 7 years ago
Closed 7 years ago
profileStorage.get should return null instead of throwing, and .add should return the newly created guid.
Categories
(Toolkit :: Form Manager, enhancement)
Toolkit
Form Manager
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: markh, Assigned: markh)
References
Details
(Whiteboard: [form autofill:M3])
Attachments
(1 file)
We'd like .get() to return null on an unknown GUID so we don't need to introspect and exception to determine if it really just means "no record found". We'd like .add() to return the GUID that was just created to make testing easier.
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8867978 [details] Bug 1365150 - profile.get returns null instead of throwing, .add returns the new GUID. https://reviewboard.mozilla.org/r/139518/#review142864 Looks good. Thanks.
Attachment #8867978 -
Flags: review?(lchang) → review+
Updated•7 years ago
|
Whiteboard: [form autofill:M3]
Comment hidden (mozreview-request) |
Pushed by mhammond@skippinet.com.au: https://hg.mozilla.org/integration/autoland/rev/d1798333664b profile.get returns null instead of throwing, .add returns the new GUID. r=lchang
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d1798333664b
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•7 years ago
|
Flags: qe-verify-
You need to log in
before you can comment on or make changes to this bug.
Description
•