mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LibWeb: Fix js execution for js urls in anchor tags href
This commit is contained in:
parent
1a10e904b5
commit
0eac8bce6f
4 changed files with 38 additions and 17 deletions
|
@ -231,7 +231,8 @@ public:
|
|||
|
||||
HTML::EnvironmentSettingsObject& relevant_settings_object();
|
||||
|
||||
JS::Value run_javascript(StringView source, StringView filename = "(unknown)"sv);
|
||||
void navigate_to_javascript_url(StringView url);
|
||||
void evaluate_javascript_url(StringView url);
|
||||
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Element>> create_element(DeprecatedString const& local_name, Variant<DeprecatedString, ElementCreationOptions> const& options);
|
||||
WebIDL::ExceptionOr<JS::NonnullGCPtr<Element>> create_element_ns(DeprecatedString const& namespace_, DeprecatedString const& qualified_name, Variant<DeprecatedString, ElementCreationOptions> const& options);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue