From 087e6d649bd76edd1f0fa48928dddaceafffed8c Mon Sep 17 00:00:00 2001 From: Anthony Ramine Date: Mon, 14 Jan 2019 15:59:37 +0100 Subject: [PATCH] Report the stylesheet URL when reporting CSS errors --- components/script/dom/window.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),