mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +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
|
@ -1018,7 +1018,7 @@ public:
|
|||
auto deserialized_value = TRY(deserialize());
|
||||
|
||||
// 2. Let result be ! CreateDataProperty(value, entry.[[Key]], deserializedValue).
|
||||
auto result = MUST(object.create_data_property(key.to_byte_string(), deserialized_value));
|
||||
auto result = MUST(object.create_data_property(key, deserialized_value));
|
||||
|
||||
// 3. Assert: result is true.
|
||||
VERIFY(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue