mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Throw DataCloneError from worker postMessage if structured clone fails
This fixes #3248.
This commit is contained in:
parent
6a11ee89de
commit
840d949d97
7 changed files with 27 additions and 18 deletions
|
@ -55,6 +55,7 @@ impl DOMErrorName {
|
|||
error::Network => NetworkError,
|
||||
error::Abort => AbortError,
|
||||
error::Timeout => TimeoutError,
|
||||
error::DataClone => DataCloneError,
|
||||
error::FailureUnknown => fail!(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue