Page MenuHomePhabricator

[web][native] unify errors from `CryptoModule` on web and native
ClosedPublic

Authored by kamil on Aug 8 2024, 3:31 AM.
Tags
None
Referenced Files
F3369181: D13025.diff
Mon, Nov 25, 10:10 PM
Unknown Object (File)
Fri, Nov 22, 4:17 PM
Unknown Object (File)
Sun, Nov 10, 9:39 PM
Unknown Object (File)
Sun, Nov 10, 8:16 AM
Unknown Object (File)
Fri, Nov 8, 11:05 PM
Unknown Object (File)
Fri, Nov 8, 12:24 PM
Unknown Object (File)
Oct 22 2024, 6:29 PM
Unknown Object (File)
Oct 18 2024, 5:15 PM
Subscribers

Details

Summary

ENG-6982.

ENG-8333.

To avoid declaring the same constant between two platforms created ENG-8995

Depends on D13024

Test Plan

Verify that the proper error is thrown.

Diff Detail

Repository
rCOMM Comm
Branch
resending-2
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 8 2024, 3:39 AM
tomek added inline comments.
native/cpp/CommonCpp/CryptoTools/CryptoModule.cpp
17

Maybe SESSION_DOESNT_EXIST?

web/shared-worker/worker/worker-crypto.js
558

Do we need this log?

This revision is now accepted and ready to land.Aug 9 2024, 2:37 AM
lib/utils/olm-utils.js
135 ↗(On Diff #43324)

Why "Exists" and not "Exist"? (I think there's a typo here, for both key and value)

lib/utils/olm-utils.js
135 ↗(On Diff #43324)

Right, going to put up a diff for it

lib/utils/olm-utils.js
135 ↗(On Diff #43324)

Don't think this ever got done. Can you create a task for it?

lib/utils/olm-utils.js
135 ↗(On Diff #43324)

D13171 is up, and it is going to land soon.

I wasn't adding any additional comments because it's visible in this revision here that there is a related diff.

lib/utils/olm-utils.js
135 ↗(On Diff #43324)

Thanks for explaining, and sorry I missed that!