mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 21:25:00 +00:00
AK: Fix URL's operator<<() and use it
This commit is contained in:
parent
b299c75d45
commit
ad3871b64e
3 changed files with 6 additions and 8 deletions
|
@ -78,7 +78,7 @@ void HTMLScriptElement::inserted_into(Node& new_parent)
|
|||
|
||||
URL src_url = document().complete_url(src);
|
||||
if (src_url.protocol() == "file" && document().url().protocol() != src_url.protocol()) {
|
||||
dbg() << "HTMLScriptElement: Forbidden to load " << src_url.to_string() << " from " << document().url().to_string();
|
||||
dbg() << "HTMLScriptElement: Forbidden to load " << src_url << " from " << document().url();
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue