aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/file.rs
diff options
context:
space:
mode:
authorZhen Zhang <izgzhen@gmail.com>2016-05-24 21:53:48 +0800
committerZhen Zhang <izgzhen@gmail.com>2016-05-24 22:32:36 +0800
commit96b20931212515f279930c7b69e471b833463886 (patch)
tree1a7c51dad41b19b643ffef727c5551e85c2e1e40 /components/script/dom/file.rs
parentcaada0fb33a3bbbb8f60ac04bdb2960b54e141ed (diff)
downloadservo-96b20931212515f279930c7b69e471b833463886.tar.gz
servo-96b20931212515f279930c7b69e471b833463886.zip
Fix FileManager thread panic and other misc improvements
- Add shut down logic for FileManager thread - Add an unit test for filemanager_thread
Diffstat (limited to 'components/script/dom/file.rs')
-rw-r--r--components/script/dom/file.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/components/script/dom/file.rs b/components/script/dom/file.rs
index 4ece71a5ce3..095e461ba4e 100644
--- a/components/script/dom/file.rs
+++ b/components/script/dom/file.rs
@@ -51,8 +51,6 @@ impl File {
pub fn new_from_selected(window: &Window, selected: SelectedFile) -> Root<File> {
let name = DOMString::from(selected.filename.to_str().expect("File name encoding error"));
- // FIXME: fix this after PR #11221 is landed
- let id = selected.id;
let slice = DataSlice::empty();
let global = GlobalRef::Window(window);