mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:07:36 +00:00
AK: Remove URL::ApplyPercentEncoding
Everywhere only ever expects percent encoding to occur, so let's just remove this flag altogether. At the same time, replace some DeprecatedString with StringView.
This commit is contained in:
parent
c4d7be100e
commit
98666b012d
6 changed files with 30 additions and 45 deletions
|
@ -506,7 +506,7 @@ WebIDL::ExceptionOr<Document*> Document::open(DeprecatedString const&, Deprecate
|
|||
auto new_url = entry_document.url();
|
||||
// 2. If entryDocument is not document, then set newURL's fragment to null.
|
||||
if (&entry_document != this)
|
||||
new_url.set_fragment("");
|
||||
new_url.set_fragment({});
|
||||
|
||||
// FIXME: 3. Run the URL and history update steps with document and newURL.
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue