Bug 1033952 - Implement "IsRemovable" and "IsHotSwappable" API for device storage (webidl). r=bzbarsky

This commit is contained in:
Eden Chuang 2014-12-22 11:03:48 +08:00
parent bba9447754
commit 9fbdd3507c

View File

@ -82,6 +82,9 @@ interface DeviceStorage : EventTarget {
// for storing new files.
readonly attribute boolean default;
// Indicates if the storage area denoted by storageName is removable
readonly attribute boolean isRemovable;
[NewObject, Throws]
// XXXbz what type does this really return?
Promise<any> getRoot();