diff options
author | bors-servo <metajack+bors@gmail.com> | 2014-12-03 16:54:57 -0700 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2014-12-03 16:54:57 -0700 |
commit | 0d2251510fb9ad8f4974c99cadafbd1a9a81e30f (patch) | |
tree | a2c1d886693dbdc8da4ad341044155a4ca43b4e9 /components/script_traits/lib.rs | |
parent | 6d1193547b3d6cb1f36edcd61ff0a2572a817bf8 (diff) | |
parent | f6fb9f862d59828e83b888da8cab242b38572319 (diff) | |
download | servo-0d2251510fb9ad8f4974c99cadafbd1a9a81e30f.tar.gz servo-0d2251510fb9ad8f4974c99cadafbd1a9a81e30f.zip |
auto merge of #4157 : nkdalmia/servo/master, r=jdm
Changes
* Implemented Storage Task
* Used Storage Task in methods of storage.rs
* Updated webstorage test expectations
Pending Changes:
* Handle Storage Event
* Throw QuotaExceededError in case of failure for method setItem
* localStorage as alias of sessionStorage
Diffstat (limited to 'components/script_traits/lib.rs')
-rw-r--r-- | components/script_traits/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/script_traits/lib.rs b/components/script_traits/lib.rs index 10bc1964e01..dec1d090178 100644 --- a/components/script_traits/lib.rs +++ b/components/script_traits/lib.rs @@ -29,6 +29,7 @@ use servo_msg::constellation_msg::{LoadData, SubpageId, Key, KeyState, KeyModifi use servo_msg::compositor_msg::ScriptListener; use servo_net::image_cache_task::ImageCacheTask; use servo_net::resource_task::ResourceTask; +use servo_net::storage_task::StorageTask; use servo_util::smallvec::SmallVec1; use std::any::Any; @@ -102,6 +103,7 @@ pub trait ScriptTaskFactory { constellation_msg: ConstellationChan, failure_msg: Failure, resource_task: ResourceTask, + storage_task: StorageTask, image_cache_task: ImageCacheTask, devtools_chan: Option<DevtoolsControlChan>, window_size: WindowSizeData) |