aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_traits/lib.rs
diff options
context:
space:
mode:
authorGauriGNaik <gaurinaik.145@gmail.com>2015-12-04 19:19:21 -0500
committerJosh Matthews <josh@joshmatthews.net>2015-12-14 11:18:30 -0500
commitfc81276c8ef755a7b5c5b21ce5a58c4824efdd90 (patch)
tree8a221f4f7316cd41fd147bc4369b1bc9259ce387 /components/script_traits/lib.rs
parent6032f8225b765dd5a0645118d7b43fa5913f9431 (diff)
downloadservo-fc81276c8ef755a7b5c5b21ce5a58c4824efdd90.tar.gz
servo-fc81276c8ef755a7b5c5b21ce5a58c4824efdd90.zip
Add pipeline information to CSS error reporting.
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r--components/script_traits/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs
index 09aeef32785..159fe3c5549 100644
--- a/components/script_traits/lib.rs
+++ b/components/script_traits/lib.rs
@@ -151,6 +151,8 @@ pub enum ConstellationControlMsg {
/// The pipeline that contains a frame loading the target pipeline.
parent: PipelineId
},
+ /// Report an error from a CSS parser for the given pipeline
+ ReportCSSError(PipelineId, String, usize, usize, String),
}
/// The type of input represented by a multi-touch event.