mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibJS: Replace invalid reference to an [[Offset]] internal slot
This is an editorial change in the Temporal proposal. See:
f1569ef
Here, we also update the struct member name to match the correct slot
name.
This commit is contained in:
parent
aa3500e881
commit
fe4995b69a
Notes:
github-actions[bot]
2024-12-05 21:07:38 +00:00
Author: https://github.com/trflynn89
Commit: fe4995b69a
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2790
Reviewed-by: https://github.com/gmta ✅
5 changed files with 8 additions and 8 deletions
|
@ -191,7 +191,7 @@ ThrowCompletionOr<GC::Ref<ZonedDateTime>> to_temporal_zoned_date_time(VM& vm, Va
|
|||
time_zone = fields.time_zone.release_value();
|
||||
|
||||
// e. Let offsetString be fields.[[OffsetString]].
|
||||
offset_string = move(fields.offset);
|
||||
offset_string = move(fields.offset_string);
|
||||
|
||||
// f. If offsetString is UNSET, then
|
||||
if (!offset_string.has_value()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue