mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-03 09:48:47 +00:00
AK+Everywhere: Store JSON object keys as String
This commit is contained in:
parent
70eb0ba1cd
commit
e591636419
Notes:
github-actions[bot]
2025-02-21 00:29:28 +00:00
Author: https://github.com/trflynn89
Commit: e591636419
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3631
Reviewed-by: https://github.com/awesomekling ✅
23 changed files with 119 additions and 111 deletions
|
@ -145,7 +145,7 @@ static ErrorOr<JsonObject, Error> validate_capabilities(JsonValue const& capabil
|
|||
else if (name.contains(':')) {
|
||||
// If name is known to the implementation, let deserialized be the result of trying to deserialize value in
|
||||
// an implementation-specific way. Otherwise, let deserialized be set to value.
|
||||
if (name.starts_with("ladybird:"sv))
|
||||
if (name.starts_with_bytes("ladybird:"sv))
|
||||
deserialized = TRY(deserialize_as_ladybird_capability(name, value));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue