Closed Bug 488142 Opened 16 years ago Closed 16 years ago

Make it easier to add simple deferred cleartext/payload values

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

A bunch of records use the pattern making a getter that defers to .payload or .cleartext, so we end up duplicating a lot of simple code with tiny changes.
Depends on: 488165
Blocks: 488170
Blocks: 488172
http://hg.mozilla.org/labs/weave/rev/e4ac6abdce16 Add a couple Utils helper to create a pair of simple [gs]etters that use a hash property instead. Apply this to various records: WBORecord, {Priv,Pub}Key, Crypto{Meta,Wrapper}, and every engine's type records. Migrate by making sure key data exists (name change).
Assignee: nobody → edilee
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.4
Component: Weave → General
Product: Mozilla Labs → Weave
Version: Trunk → unspecified
QA Contact: weave → general
Blocks: 486042
You need to log in before you can comment on or make changes to this bug.