зеркало из https://github.com/mozilla/gecko-dev.git
Bug 971732. Hide the DeviceStorage interface object in cases when the corresponding navigator APIs are hidden. r=sicking
This commit is contained in:
Родитель
eb67e9d016
Коммит
9856695998
|
@ -340,9 +340,9 @@ var interfaceNamesInGlobalScope =
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"DeviceProximityEvent",
|
"DeviceProximityEvent",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// 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!
|
// 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!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
"Document",
|
"Document",
|
||||||
// IMPORTANT: Do not change this list without review from a DOM peer!
|
// IMPORTANT: Do not change this list without review from a DOM peer!
|
||||||
|
|
|
@ -7,6 +7,7 @@ dictionary DeviceStorageEnumerationParameters {
|
||||||
Date since;
|
Date since;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
[Pref="device.storage.enabled"]
|
||||||
interface DeviceStorage : EventTarget {
|
interface DeviceStorage : EventTarget {
|
||||||
attribute EventHandler onchange;
|
attribute EventHandler onchange;
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,8 @@
|
||||||
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
* 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
|
interface DeviceStorageChangeEvent : Event
|
||||||
{
|
{
|
||||||
readonly attribute DOMString? path;
|
readonly attribute DOMString? path;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче