mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
Bug 971732. Hide the DeviceStorage interface object in cases when the corresponding navigator APIs are hidden. r=sicking
This commit is contained in:
parent
eb67e9d016
commit
9856695998
@ -340,9 +340,9 @@ var interfaceNamesInGlobalScope =
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"DeviceProximityEvent",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"DeviceStorage",
|
||||
{ name: "DeviceStorage", pref: "device.storage.enabled" },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"DeviceStorageChangeEvent",
|
||||
{ name: "DeviceStorageChangeEvent", pref: "device.storage.enabled" },
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
"Document",
|
||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||
|
@ -7,6 +7,7 @@ dictionary DeviceStorageEnumerationParameters {
|
||||
Date since;
|
||||
};
|
||||
|
||||
[Pref="device.storage.enabled"]
|
||||
interface DeviceStorage : EventTarget {
|
||||
attribute EventHandler onchange;
|
||||
|
||||
|
@ -4,7 +4,8 @@
|
||||
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
[Constructor(DOMString type, optional DeviceStorageChangeEventInit eventInitDict)]
|
||||
[Constructor(DOMString type, optional DeviceStorageChangeEventInit eventInitDict),
|
||||
Pref="device.storage.enabled"]
|
||||
interface DeviceStorageChangeEvent : Event
|
||||
{
|
||||
readonly attribute DOMString? path;
|
||||
|
Loading…
Reference in New Issue
Block a user