|
@@ -110,7 +110,7 @@ WebIDL::ExceptionOr<void> History::forward()
|
|
}
|
|
}
|
|
|
|
|
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#can-have-its-url-rewritten
|
|
// https://html.spec.whatwg.org/multipage/nav-history-apis.html#can-have-its-url-rewritten
|
|
-static bool can_have_its_url_rewritten(DOM::Document const& document, AK::URL const& target_url)
|
|
|
|
|
|
+bool can_have_its_url_rewritten(DOM::Document const& document, AK::URL const& target_url)
|
|
{
|
|
{
|
|
// 1. Let documentURL be document's URL.
|
|
// 1. Let documentURL be document's URL.
|
|
auto document_url = document.url();
|
|
auto document_url = document.url();
|