aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/bindings/callback.rs
diff options
context:
space:
mode:
authorMs2ger <ms2ger@gmail.com>2015-01-10 20:22:03 +0100
committerMs2ger <ms2ger@gmail.com>2015-01-10 20:22:03 +0100
commit8efcca986c249c3b2df2ebf16a68cf1c994102e7 (patch)
tree8d6d87ef4db5afed9d3ed706e216f5d64778e91d /components/script/dom/bindings/callback.rs
parent879af966b3c18d9405b6f5837b39a28039db1eb3 (diff)
downloadservo-8efcca986c249c3b2df2ebf16a68cf1c994102e7.tar.gz
servo-8efcca986c249c3b2df2ebf16a68cf1c994102e7.zip
Remove RethrowContentExceptions and related infrastructure.
We do not intend to implement the DOM in JS, so this code isn't necessary.
Diffstat (limited to 'components/script/dom/bindings/callback.rs')
-rw-r--r--components/script/dom/bindings/callback.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/bindings/callback.rs b/components/script/dom/bindings/callback.rs
index 29741117383..c9718b6e026 100644
--- a/components/script/dom/bindings/callback.rs
+++ b/components/script/dom/bindings/callback.rs
@@ -20,10 +20,6 @@ use std::ptr;
pub enum ExceptionHandling {
/// Report any exception and don't throw it to the caller code.
ReportExceptions,
- /// Throw an exception to the caller code if the thrown exception is a
- /// binding object for a DOMError from the caller's scope, otherwise report
- /// it.
- RethrowContentExceptions,
/// Throw any exception to the caller code.
RethrowExceptions
}