Throw DataCloneError from worker postMessage if structured clone fails

This fixes #3248.
This commit is contained in:
Ehsan Akhgari 2014-10-15 21:57:40 -04:00
parent 6a11ee89de
commit 840d949d97
7 changed files with 27 additions and 18 deletions

View file

@ -55,6 +55,7 @@ impl DOMErrorName {
error::Network => NetworkError,
error::Abort => AbortError,
error::Timeout => TimeoutError,
error::DataClone => DataCloneError,
error::FailureUnknown => fail!(),
}
}