mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
LibWeb: Add non-const variants of Request::{current_,}url()
This commit is contained in:
parent
0ee8da9556
commit
e40c8f550f
2 changed files with 17 additions and 3 deletions
|
@ -277,8 +277,10 @@ public:
|
|||
[[nodiscard]] bool timing_allow_failed() const { return m_timing_allow_failed; }
|
||||
void set_timing_allow_failed(bool timing_allow_failed) { m_timing_allow_failed = timing_allow_failed; }
|
||||
|
||||
[[nodiscard]] AK::URL& url();
|
||||
[[nodiscard]] AK::URL const& url() const;
|
||||
[[nodiscard]] AK::URL const& current_url();
|
||||
[[nodiscard]] AK::URL& current_url();
|
||||
[[nodiscard]] AK::URL const& current_url() const;
|
||||
void set_url(AK::URL url);
|
||||
|
||||
[[nodiscard]] bool destination_is_script_like() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue