mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibWeb: Validate the qualified name in createDocumentType()
1% progression on ACID3. :^)
This commit is contained in:
parent
f855cbac92
commit
262488ea33
4 changed files with 61 additions and 3 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
// FIXME: Add optional DocumentType once supported by IDL
|
||||
ExceptionOr<NonnullRefPtr<Document>> create_document(const String&, const String&) const;
|
||||
NonnullRefPtr<Document> create_html_document(const String& title) const;
|
||||
NonnullRefPtr<DocumentType> create_document_type(String const& qualified_name, String const& public_id, String const& system_id);
|
||||
ExceptionOr<NonnullRefPtr<DocumentType>> create_document_type(String const& qualified_name, String const& public_id, String const& system_id);
|
||||
|
||||
// https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature
|
||||
bool has_feature() const { return true; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue