mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00:00
LibJS: Change PropertyKey(ByteString) to PropertyKey(String)
...and deal with the fallout.
This commit is contained in:
parent
3b5032c4b1
commit
d7908dbff5
Notes:
github-actions[bot]
2025-03-24 22:28:48 +00:00
Author: https://github.com/awesomekling
Commit: d7908dbff5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4067
Reviewed-by: https://github.com/trflynn89
17 changed files with 78 additions and 78 deletions
|
@ -843,7 +843,7 @@ GC::Ref<WebIDL::Promise> SubtleCrypto::wrap_key(Bindings::KeyFormat format, GC::
|
|||
}
|
||||
|
||||
// 3. Let bytes be the result of UTF-8 encoding json.
|
||||
bytes = maybe_json.release_value()->to_byte_buffer();
|
||||
bytes = MUST(ByteBuffer::copy(maybe_json.value()->bytes()));
|
||||
} else {
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue