summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
diff options
context:
space:
mode:
authorasynts <asynts@gmail.com>2021-01-17 16:57:17 +0100
committerAndreas Kling <kling@serenityos.org>2021-01-22 22:14:30 +0100
commit7d783d8b84f8c55fd30af867437734a732fcfc17 (patch)
tree8f9c72ea92affcfde8c6e36d79fb814f4b1f628f /Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
parent5c5665c1e753d3123415326ebbc06ec6111e2486 (diff)
downloadserenity-7d783d8b84f8c55fd30af867437734a732fcfc17.zip
Everywhere: Replace a bundle of dbg with dbgln.
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp')
-rw-r--r--Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
index e59818ba82..f13eeebf3f 100644
--- a/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
+++ b/Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.cpp
@@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
+#include <AK/Debug.h>
#include <LibGUI/Button.h>
#include <LibGUI/TextBox.h>
#include <LibWeb/Bindings/WindowObject.h>
@@ -71,15 +72,15 @@ void HTMLIFrameElement::load_src(const String& value)
{
auto url = document().complete_url(value);
if (!url.is_valid()) {
- dbg() << "iframe failed to load URL: Invalid URL: " << value;
+ dbgln("iframe failed to load URL: Invalid URL: {}", value);
return;
}
if (url.protocol() == "file" && document().origin().protocol() != "file") {
- dbg() << "iframe failed to load URL: Security violation: " << document().url() << " may not load " << url;
+ dbgln("iframe failed to load URL: Security violation: {} may not load {}", document().url(), url);
return;
}
- dbg() << "Loading iframe document from " << value;
+ dbgln("Loading iframe document from {}", value);
m_content_frame->loader().load(url, FrameLoader::Type::IFrame);
}