CryptoMeta__addUnwrappedKey always gets undefined new_pubkey

RESOLVED FIXED in 0.4

Status

Cloud Services
General
RESOLVED FIXED
9 years ago
9 years ago

People

(Reporter: Mardak, Assigned: Mardak)

Tracking

unspecified
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Assignee)

Description

9 years ago
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?
(Assignee)

Comment 1

9 years ago
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
(Assignee)

Comment 2

9 years ago
http://hg.mozilla.org/labs/weave/rev/f94a69d4b394
yield for PubKeys.get() when passed a string uri
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → FIXED

Updated

9 years ago
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.