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

@ -34,7 +34,8 @@ pub enum Error {
Security,
Network,
Abort,
Timeout
Timeout,
DataClone
}
/// The return type for IDL operations that can throw DOM exceptions.