Skip to content

Commit 6ccae55

Browse files
committed
Bug 1628692 - Prepare dom/webauthn for making FallibleTArray uncopyable. r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D72622
1 parent 62219e3 commit 6ccae55

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

dom/webauthn/AndroidWebAuthnTokenManager.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,15 @@ class AndroidWebAuthnResult {
7171
}
7272
}
7373

74+
AndroidWebAuthnResult(const AndroidWebAuthnResult& aOther)
75+
: mAttObj(aOther.mAttObj.InfallibleClone()),
76+
mKeyHandle(aOther.mKeyHandle.InfallibleClone()),
77+
mClientDataJSON(aOther.mClientDataJSON),
78+
mAuthData(aOther.mAuthData.InfallibleClone()),
79+
mSignature(aOther.mSignature.InfallibleClone()),
80+
mUserHandle(aOther.mUserHandle.InfallibleClone()),
81+
mErrorCode(aOther.mErrorCode) {}
82+
7483
// Attestation-only
7584
CryptoBuffer mAttObj;
7685

0 commit comments

Comments
 (0)