mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 12:07:14 +02:00
LibWeb/Crypto: Remove clang-format style issues FIXMEs
These FIXMEs don't mean much. If you try to inline it, you'll see it's broken. PR review will catch it.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
d71b66239b
commit
667de49a6c
Notes:
github-actions[bot]
2025-08-04 08:42:16 +00:00
Author: https://github.com/devgianlu Commit: https://github.com/LadybirdBrowser/ladybird/commit/667de49a6cb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5687 Reviewed-by: https://github.com/gmta ✅
@@ -1088,7 +1088,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAOAEP::export_key(Bindings::KeyFormat
|
||||
[](auto) -> ErrorOr<ByteBuffer> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
|
||||
|
||||
// 3. Let result be the result of creating an ArrayBuffer containing data.
|
||||
@@ -1115,8 +1114,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAOAEP::export_key(Bindings::KeyFormat
|
||||
[](auto) -> ErrorOr<ByteBuffer> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
|
||||
|
||||
// 3. Let result be the result of creating an ArrayBuffer containing data.
|
||||
@@ -1188,7 +1185,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAOAEP::export_key(Bindings::KeyFormat
|
||||
[](auto) -> ErrorOr<void> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
TRY_OR_THROW_OOM(vm, maybe_error);
|
||||
|
||||
// 13. Set the key_ops attribute of jwk to the usages attribute of key.
|
||||
@@ -1680,7 +1676,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAPSS::export_key(Bindings::KeyFormat
|
||||
[](auto) -> ErrorOr<ByteBuffer> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
|
||||
|
||||
// 3. Let result be the result of creating an ArrayBuffer containing data.
|
||||
@@ -1707,8 +1702,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAPSS::export_key(Bindings::KeyFormat
|
||||
[](auto) -> ErrorOr<ByteBuffer> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
|
||||
|
||||
// 3. Let result be the result of creating an ArrayBuffer containing data.
|
||||
@@ -1781,7 +1774,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSAPSS::export_key(Bindings::KeyFormat
|
||||
[](auto) -> ErrorOr<void> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
TRY_OR_THROW_OOM(vm, maybe_error);
|
||||
|
||||
// 7. Set the key_ops attribute of jwk to the usages attribute of key.
|
||||
@@ -2265,7 +2257,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSASSAPKCS1::export_key(Bindings::KeyFo
|
||||
[](auto) -> ErrorOr<ByteBuffer> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
|
||||
|
||||
// 3. Let result be the result of creating an ArrayBuffer containing data.
|
||||
@@ -2292,8 +2283,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSASSAPKCS1::export_key(Bindings::KeyFo
|
||||
[](auto) -> ErrorOr<ByteBuffer> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
auto data = TRY_OR_THROW_OOM(vm, maybe_data);
|
||||
|
||||
// 3. Let result be the result of creating an ArrayBuffer containing data.
|
||||
@@ -2366,7 +2355,6 @@ WebIDL::ExceptionOr<GC::Ref<JS::Object>> RSASSAPKCS1::export_key(Bindings::KeyFo
|
||||
[](auto) -> ErrorOr<void> {
|
||||
VERIFY_NOT_REACHED();
|
||||
});
|
||||
// FIXME: clang-format butchers the visit if we do the TRY inline
|
||||
TRY_OR_THROW_OOM(vm, maybe_error);
|
||||
|
||||
// 7. Set the key_ops attribute of jwk to the usages attribute of key.
|
||||
|
||||
Reference in New Issue
Block a user