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:
parent
c4d3134436
commit
f976ec005c
12 changed files with 55 additions and 55 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue