mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
|
@ -578,8 +578,8 @@ ThrowCompletionOr<RelativeTo> get_temporal_relative_to_option(VM& vm, Object con
|
|||
// g. Let timeZone be fields.[[TimeZone]].
|
||||
time_zone = move(fields.time_zone);
|
||||
|
||||
// h. Let offsetString be fields.[[Offset]].
|
||||
offset_string = move(fields.offset);
|
||||
// h. Let offsetString be fields.[[OffsetString]].
|
||||
offset_string = move(fields.offset_string);
|
||||
|
||||
// i. If offsetString is UNSET, then
|
||||
if (!offset_string.has_value()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue