Closed Bug 496455 Opened 15 years ago Closed 15 years ago

CryptoMeta__addUnwrappedKey always gets undefined new_pubkey

Categories

(Cloud Services :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

http://hg.mozilla.org/labs/weave/file/d6cac1e80da9/modules/base_records/crypto.js#l199

   198     if (typeof new_pubkey == 'string')
   199       new_pubkey = PubKeys.get(self.cb, new_pubkey);

no yield?
Seems like we never call addUnwrappedKey with a string uri for new_pubkey, but I assumed that we want it to be yield.

http://hg.mozilla.org/users/edward.lee_engineering.uiuc.edu/weave-Sync/rev/739b11e3bc1c
CryptoMeta_addUnwrappedKey: async + async/yield -> sync.
Assignee: nobody → edilee
Target Milestone: -- → 0.4
http://hg.mozilla.org/labs/weave/rev/f94a69d4b394
yield for PubKeys.get() when passed a string uri
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Weave → General
Product: Mozilla Labs → Weave
Version: Trunk → unspecified
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.