1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 06:48:12 +00:00

LibWeb: Port DOM::Document from DeprecatedString

This commit is contained in:
Shannon Booth 2023-12-03 08:58:43 +13:00 committed by Andreas Kling
parent c4d3134436
commit f976ec005c
12 changed files with 55 additions and 55 deletions

View file

@ -225,7 +225,7 @@ WebIDL::ExceptionOr<BrowsingContext::BrowsingContextAndDocument> BrowsingContext
// 15. If creator is non-null, then:
if (creator) {
// 1. Set document's referrer to the serialization of creator's URL.
document->set_referrer(creator->url().serialize());
document->set_referrer(MUST(String::from_deprecated_string(creator->url().serialize())));
// FIXME: 2. Set document's policy container to a clone of creator's policy container.