mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 14:27:35 +00:00
LibWeb: Stub out all the functions from the execCommand spec
Per the specification, it's ok if we say that nothing is supported. It's not ok if we say something is supported but do nothing, apparently.
This commit is contained in:
parent
f5266e0096
commit
5d2a36f244
5 changed files with 91 additions and 10 deletions
|
@ -500,12 +500,18 @@ public:
|
|||
DocumentUnloadTimingInfo const& previous_document_unload_timing() const { return m_previous_document_unload_timing; }
|
||||
void set_previous_document_unload_timing(DocumentUnloadTimingInfo const& previous_document_unload_timing) { m_previous_document_unload_timing = previous_document_unload_timing; }
|
||||
|
||||
// https://w3c.github.io/editing/docs/execCommand/
|
||||
bool exec_command(String command_id, bool show_ui, String value);
|
||||
bool query_command_enabled(String command_id);
|
||||
bool query_command_indeterm(String command_id);
|
||||
bool query_command_state(String command_id);
|
||||
bool query_command_supported(String command_id);
|
||||
String query_command_value(String command_id);
|
||||
|
||||
bool is_allowed_to_use_feature(PolicyControlledFeature) const;
|
||||
|
||||
void did_stop_being_active_document_in_navigable();
|
||||
|
||||
bool query_command_supported(String const&) const;
|
||||
|
||||
String dump_accessibility_tree_as_json();
|
||||
|
||||
void make_active();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue