LibWeb: Fix various typos

Corresponds to:
- https://github.com/whatwg/html/pull/10934
- https://github.com/whatwg/html/pull/10950
This commit is contained in:
Sam Atkins 2025-01-29 17:15:00 +00:00
parent c5d793c4a9
commit 3775f3399c
Notes: github-actions[bot] 2025-01-30 15:01:16 +00:00
13 changed files with 25 additions and 26 deletions

View file

@ -224,8 +224,7 @@ JS::ThrowCompletionOr<bool> cross_origin_set(JS::VM& vm, JS::Object& object, JS:
// 3. If desc.[[Set]] is present and its value is not undefined, then:
if (descriptor->set.has_value() && *descriptor->set) {
// FIXME: Spec issue, `setter` isn't being defined.
// 1. Perform ? Call(setter, Receiver, «V»).
// 1. Perform ? Call(desc.[[Set]], Receiver, « V »).
TRY(JS::call(vm, *descriptor->set, receiver, value));
// 2. Return true.