aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2019-01-14 15:59:37 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2019-01-14 16:51:28 +0100
commit087e6d649bd76edd1f0fa48928dddaceafffed8c (patch)
tree19d544e3670ac1feba42eb5fb2f5d7a0b46a00a1
parente57d09abb83b26f4471477653819f3a1637c04aa (diff)
downloadservo-087e6d649bd76edd1f0fa48928dddaceafffed8c.tar.gz
servo-087e6d649bd76edd1f0fa48928dddaceafffed8c.zip
Report the stylesheet URL when reporting CSS errors
-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 b557246e6b1..dce37b4f0bc 100644
--- a/components/script/dom/window.rs
+++ b/components/script/dom/window.rs
@@ -2268,7 +2268,7 @@ impl ParseErrorReporter for CSSErrorReporter {
.unwrap()
.send(ConstellationControlMsg::ReportCSSError(
self.pipelineid,
- "".to_owned(),
+ url.to_string(),
location.line,
location.column,
error.to_string(),