diff options
author | Ms2ger <Ms2ger@gmail.com> | 2016-05-17 18:07:12 +0200 |
---|---|---|
committer | Ms2ger <Ms2ger@gmail.com> | 2016-05-18 12:30:10 +0200 |
commit | 1ebe681d8ddc1a5b15df2e1f77a5f13f3b93f7e7 (patch) | |
tree | d1744b2a4790e93110c902c1c54ff1b63fa99129 /components/script/dom/worker.rs | |
parent | aa8c835d3b2b45a16cefd7c34fb18f3a6c627134 (diff) | |
download | servo-1ebe681d8ddc1a5b15df2e1f77a5f13f3b93f7e7.tar.gz servo-1ebe681d8ddc1a5b15df2e1f77a5f13f3b93f7e7.zip |
Report panics in web worker threads.
Diffstat (limited to 'components/script/dom/worker.rs')
-rw-r--r-- | components/script/dom/worker.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script/dom/worker.rs b/components/script/dom/worker.rs index 1c7fc6def0d..3750744a531 100644 --- a/components/script/dom/worker.rs +++ b/components/script/dom/worker.rs @@ -106,6 +106,7 @@ impl Worker { from_devtools_sender: optional_sender, constellation_chan: constellation_chan, scheduler_chan: scheduler_chan, + panic_chan: global.panic_chan().clone(), worker_id: worker_id, closing: closing, }; |