aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/script/dom/window.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/window.rs b/components/script/dom/window.rs
index 6b3b51f9a79..1ea51a5c156 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -615,7 +615,7 @@ impl WindowMethods for Window {
let mut stderr = stderr.lock();
let stdout = stdout();
let mut stdout = stdout.lock();
- writeln!(&mut stdout, "ALERT: {}", s).unwrap();
+ writeln!(&mut stdout, "\nALERT: {}", s).unwrap();
stdout.flush().unwrap();
stderr.flush().unwrap();
}