Re: Intent to implement: navigator.deviceStorage

2014-07-22 Thread Ehsan Akhgari
quot; *收件者: *"Marco Chen" *副本: *dev-platform@lists.mozilla.org *寄件備份: *2014 7 月 22 星期二 上午 2:01:13 *主旨: *Re: Intent to implement: navigator.deviceStorage Yes, indeed. Below, I meant to agree with adding a new EventTarget where these events can be targeted to. :-) Cheers, Ehsan On 201

Re: Intent to implement: navigator.deviceStorage

2014-07-22 Thread Marco Chen
原始郵件 - 寄件者: "Ehsan Akhgari" 收件者: "Marco Chen" 副本: dev-platform@lists.mozilla.org 寄件備份: 2014 7 月 22 星期二 上午 2:01:13 主旨: Re: Intent to implement: navigator.deviceStorage Yes, indeed. Below, I meant to agree with adding a new EventTarget where these events can be

Re: Intent to implement: navigator.deviceStorage

2014-07-21 Thread Ehsan Akhgari
uot; *收件者: *mc...@mozilla.com, dev-platform@lists.mozilla.org *寄件備份: *2014 7 月 21 星期一 下午 11:32:33 *主旨: *Re: Intent to implement: navigator.deviceStorage On 2014-07-20, 10:43 PM, mc...@mozilla.com wrote: >> Perhaps adding an >> EventListener on Window would be enough, so that we can

Re: Intent to implement: navigator.deviceStorage

2014-07-21 Thread Marco Chen
support to Dave' suggestion. - 原始郵件 - 寄件者: "Ehsan Akhgari" 收件者: mc...@mozilla.com, dev-platform@lists.mozilla.org 寄件備份: 2014 7 月 21 星期一 下午 11:32:33 主旨: Re: Intent to implement: navigator.deviceStorage On 2014-07-20, 10:43 PM, mc...@mozilla.com wrote: >&

Re: Intent to implement: navigator.deviceStorage

2014-07-21 Thread Ehsan Akhgari
On 2014-07-20, 10:43 PM, mc...@mozilla.com wrote: Perhaps adding an EventListener on Window would be enough, so that we can keep the same API? As Dave said, we might still need to propose a set of WebAPI for Virutal Device Storage (Then we can have apps like dropboxstorage app, googledriversto

Re: Intent to implement: navigator.deviceStorage

2014-07-20 Thread mchen
On Saturday, July 19, 2014 5:49:26 AM UTC+8, Ehsan Akhgari wrote: > (Also, please see Marco's email about this to dev-webapi. It would be > nice if we could coordinate our efforts here.) Yes, since there are discussions here already I will join here. And give a notice on my mail thread in dev-we

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread Kyle Huey
uot;Dave Hylands" >> *Cc: *"dev-platform" >> *Sent: *Friday, July 18, 2014 2:14:50 PM >> *Subject: *Re: Intent to implement: navigator.deviceStorage >> >> >> On Wed, Jul 16, 2014 at 9:08 PM, Dave Hyla

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread Ehsan Akhgari
On 2014-07-18, 5:28 PM, Dave Hylands wrote: *From: *"Ehsan Akhgari" *To: *"Dave Hylands" *Cc: *"dev-platform" *Sent: *Friday, July 18, 2014 2:14:50 PM *Sub

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread Ralph Giles
On 2014-07-18 2:28 PM, Dave Hylands wrote: > No reason, other than I'm not familiar with EventListener. What is an > EventListener and how would you use it? Maybe just point me at an example? deviceStorage.addEventListener('newarea', function(event) { // Handle new area being available.

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread David Rajchenbach-Teller
On 18/07/14 23:28, Dave Hylands wrote: >> addObserver/removeObserver are Gecko-isms that don't really have a >> counterpart in Web APIs. Why not use an EventListener? > > No reason, other than I'm not familiar with EventListener. What is an > EventListener and how would you use it? Maybe just poi

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread Dave Hylands
- Original Message - > From: "Ehsan Akhgari" > To: "Dave Hylands" > Cc: "dev-platform" > Sent: Friday, July 18, 2014 2:14:50 PM > Subject: Re: Intent to implement: navigator.deviceStorage > On Wed, Jul 16, 2014 at 9:08 PM, Dave Hyland

Re: Intent to implement: navigator.deviceStorage

2014-07-18 Thread Ehsan Akhgari
On Wed, Jul 16, 2014 at 9:08 PM, Dave Hylands wrote: > Currently, we have navigator.getDeviceStorage and > navigator.getDeviceStorages > > We're looking to expand device storage to add support for more virtual > storage areas, like DropBox, or GoogleDrive, etc. > See bug 1035053 > > I was going t

Re: Intent to implement: navigator.deviceStorage

2014-07-17 Thread Ms2ger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Dave, There exists a template [1] for this kind of email. Using it makes it much easier to be sure the important questions are addressed. You're missing the answers to all questions except the bug number. (That bug, I should note, will need to live

Intent to implement: navigator.deviceStorage

2014-07-16 Thread Dave Hylands
Currently, we have navigator.getDeviceStorage and navigator.getDeviceStorages We're looking to expand device storage to add support for more virtual storage areas, like DropBox, or GoogleDrive, etc. See bug 1035053 I was going to propose that we add navigator.deviceStorage (or possibly navig