mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:47:35 +00:00
LibWeb: Implement navigation to javascript:
URLs for navigables
Implements following algorithms from the specification: https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigate-to-a-javascript:-url https://html.spec.whatwg.org/multipage/browsing-the-web.html#evaluate-a-javascript:-url
This commit is contained in:
parent
09013583f2
commit
84139a10d2
2 changed files with 175 additions and 6 deletions
|
@ -123,7 +123,8 @@ public:
|
|||
|
||||
WebIDL::ExceptionOr<void> navigate_to_a_fragment(AK::URL const&, HistoryHandlingBehavior, String navigation_id);
|
||||
|
||||
WebIDL::ExceptionOr<void> navigate_to_a_javascript_url(AK::URL const&, HistoryHandlingBehavior, Origin const& initiator_origin, CSPNavigationType csp_navigation_type);
|
||||
WebIDL::ExceptionOr<JS::GCPtr<DOM::Document>> evaluate_javascript_url(AK::URL const&, Origin const& new_document_origin, String navigation_id);
|
||||
WebIDL::ExceptionOr<void> navigate_to_a_javascript_url(AK::URL const&, HistoryHandlingBehavior, Origin const& initiator_origin, CSPNavigationType csp_navigation_type, String navigation_id);
|
||||
|
||||
void reload();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue