Closed Bug 1753919 Opened 2 years ago Closed 2 years ago

Remove copy situation of AndroidWebAuthnResult

Categories

(GeckoView :: General, enhancement)

Unspecified
Android
enhancement

Tracking

(firefox99 fixed)

RESOLVED FIXED
99 Branch
Tracking Status
firefox99 --- fixed

People

(Reporter: m_kato, Assigned: m_kato)

References

Details

Attachments

(3 files)

AndroidWebAuthnResult has copy constructor for HandleRegisterResult and HandleSignResult. Sicne AndroidWebAuthnResult is large object, we should remove copy constructor then use std::move.

Since WebAuthnTokenManager uses GeckoReuslt, we can remove callback of WebAuthnTokenManager.

Assignee: nobody → m_kato
Status: NEW → ASSIGNED

Actually, we require that the parameter of promise by GeckoResult has copy
constructor. We should allow non-copy C++ class for this parameter.

Depends on D137973

Let's remove copy situation of AndroidWebAuthnResult.

Depends on D137974

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/921e6784ee11
AndroidWebAuthnTokenManager uses GeckoResult directly instead of callback. r=geckoview-reviewers,agi
https://hg.mozilla.org/integration/autoland/rev/dfc29f2b1a1f
Allow non-copy C++ object for GeckoResult paramenter. r=geckoview-reviewers,bholley,agi
https://hg.mozilla.org/integration/autoland/rev/b0faf7d51350
Remove copy constructor from AndroidWebAuthnResult. r=geckoview-reviewers,agi
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 99 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: