mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +00:00
LibWeb: Add contentType attribute to Document
This commit is contained in:
parent
cf9419fc4f
commit
3ec54448f5
3 changed files with 21 additions and 10 deletions
|
@ -194,6 +194,9 @@ public:
|
|||
|
||||
Window& window() { return *m_window; }
|
||||
|
||||
const String& content_type() const { return m_content_type; }
|
||||
void set_content_type(const String& content_type) { m_content_type = content_type; }
|
||||
|
||||
private:
|
||||
explicit Document(const URL&);
|
||||
|
||||
|
@ -254,6 +257,7 @@ private:
|
|||
RefPtr<Document> m_associated_inert_template_document;
|
||||
|
||||
String m_ready_state { "loading" };
|
||||
String m_content_type;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue