mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00:00
LibWeb: Make factory methods of DOM::Range fallible
This commit is contained in:
parent
e3e281addd
commit
0791195843
4 changed files with 21 additions and 21 deletions
|
@ -1256,7 +1256,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<ProcessingInstruction>> Document::create_pr
|
|||
|
||||
JS::NonnullGCPtr<Range> Document::create_range()
|
||||
{
|
||||
return Range::create(*this);
|
||||
return Range::create(*this).release_value_but_fixme_should_propagate_errors();
|
||||
}
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-document-createevent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue