mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Bindings: Remove exception handling for named_item_value
This commit is contained in:
parent
081c92bf3d
commit
9b59dc5e8b
Notes:
github-actions[bot]
2024-07-26 12:27:24 +00:00
Author: https://github.com/shannonbooth
Commit: 9b59dc5e8b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/827
27 changed files with 29 additions and 32 deletions
|
@ -4837,7 +4837,7 @@ static Vector<JS::NonnullGCPtr<DOM::Element>> named_elements_with_name(Document
|
|||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/dom.html#dom-document-nameditem
|
||||
WebIDL::ExceptionOr<JS::Value> Document::named_item_value(FlyString const& name) const
|
||||
JS::Value Document::named_item_value(FlyString const& name) const
|
||||
{
|
||||
// 1. Let elements be the list of named elements with the name name that are in a document tree with the Document as their root.
|
||||
// NOTE: There will be at least one such element, since the algorithm would otherwise not have been invoked by Web IDL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue