aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/lib.rs
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-08-01 14:54:08 -0400
committerJosh Matthews <josh@joshmatthews.net>2018-10-01 16:04:56 +0200
commit06bca43aeef990da8f02cd8b814329f7607365dd (patch)
tree364c331380a977e8cb0c8f3867a4bdfc578afe59 /components/script/lib.rs
parent5dc80dd07ad75d68cfea2babe64d421eb7b07ba3 (diff)
downloadservo-06bca43aeef990da8f02cd8b814329f7607365dd.tar.gz
servo-06bca43aeef990da8f02cd8b814329f7607365dd.zip
script: Optionally store backtraces when throwing DOM exceptions.
Diffstat (limited to 'components/script/lib.rs')
-rw-r--r--components/script/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/lib.rs b/components/script/lib.rs
index 66bc4ac40eb..097f69d7808 100644
--- a/components/script/lib.rs
+++ b/components/script/lib.rs
@@ -19,7 +19,7 @@
extern crate app_units;
extern crate audio_video_metadata;
-#[cfg(feature = "webgl_backtrace")]
+#[cfg(any(feature = "webgl_backtrace", feature = "js_backtrace"))]
extern crate backtrace;
extern crate base64;
#[macro_use]