mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:47:35 +00:00
LibWeb: Throw SyntaxError on bogus querySelector{,All} input selector
This commit is contained in:
parent
935075c26e
commit
0398089275
2 changed files with 6 additions and 6 deletions
|
@ -22,8 +22,8 @@ public:
|
|||
RefPtr<Element> last_element_child();
|
||||
u32 child_element_count() const;
|
||||
|
||||
RefPtr<Element> query_selector(const StringView&);
|
||||
NonnullRefPtrVector<Element> query_selector_all(const StringView&);
|
||||
ExceptionOr<RefPtr<Element>> query_selector(StringView);
|
||||
ExceptionOr<NonnullRefPtrVector<Element>> query_selector_all(StringView);
|
||||
|
||||
protected:
|
||||
ParentNode(Document& document, NodeType type)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue