mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-30 19:47:17 +02:00
Bindings: Remove exception handling for named_item
We don't need this for any case, so just remove it to simplify handling in PlatformObject.
This commit is contained in:
committed by
Andreas Kling
parent
273593afba
commit
081c92bf3d
Notes:
github-actions[bot]
2024-07-26 12:27:29 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/081c92bf3dc Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/827
@@ -935,7 +935,7 @@ bool HTMLFormElement::is_supported_property_index(u32 index) const
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/forms.html#dom-form-item
|
||||
WebIDL::ExceptionOr<JS::Value> HTMLFormElement::item_value(size_t index) const
|
||||
JS::Value HTMLFormElement::item_value(size_t index) const
|
||||
{
|
||||
// To determine the value of an indexed property for a form element, the user agent must return the value returned by
|
||||
// the item method on the elements collection, when invoked with the given index as its argument.
|
||||
|
||||
Reference in New Issue
Block a user