1
Fork 0
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:
Kenneth Myhra 2023-02-15 07:26:32 +01:00 committed by Linus Groh
parent e3e281addd
commit 0791195843
4 changed files with 21 additions and 21 deletions

View file

@ -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