mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
Everywhere: Remove double // on comments
This commit is contained in:
committed by
Gregory Bertilson
parent
fde2015846
commit
dab742ed84
Notes:
github-actions[bot]
2026-02-11 19:29:12 +00:00
Author: https://github.com/Psychpsyo Commit: https://github.com/LadybirdBrowser/ladybird/commit/dab742ed84d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/7895
@@ -7230,7 +7230,7 @@ WebIDL::ExceptionOr<GC::Ref<CryptoKey>> X25519::import_key([[maybe_unused]] Web:
|
||||
if (jwk.kty != "OKP"sv)
|
||||
return WebIDL::DataError::create(m_realm, "Invalid key type"_utf16);
|
||||
|
||||
// // https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve
|
||||
// https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve
|
||||
// o The parameter "crv" MUST be present and contain the subtype of the key (from the "JSON Web Elliptic Curve" registry).
|
||||
if (jwk.crv != "X25519"sv)
|
||||
return WebIDL::DataError::create(m_realm, "Invalid curve"_utf16);
|
||||
@@ -7846,7 +7846,7 @@ WebIDL::ExceptionOr<GC::Ref<CryptoKey>> X448::import_key(
|
||||
if (jwk.kty != "OKP"sv)
|
||||
return WebIDL::DataError::create(m_realm, "Invalid key type"_utf16);
|
||||
|
||||
// // https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve
|
||||
// https://www.iana.org/assignments/jose/jose.xhtml#web-key-elliptic-curve
|
||||
// o The parameter "crv" MUST be present and contain the subtype of the key (from the "JSON Web Elliptic Curve" registry).
|
||||
if (jwk.crv != "X448"sv)
|
||||
return WebIDL::DataError::create(m_realm, "Invalid curve"_utf16);
|
||||
|
||||
Reference in New Issue
Block a user