зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1268804 Part 1: Enable SecureContext for Storage API, r=baku
This commit is contained in:
Родитель
a7b166f847
Коммит
da2665adf4
|
@ -87,7 +87,7 @@ interface NavigatorContentUtils {
|
|||
//void unregisterContentHandler(DOMString mimeType, DOMString url);
|
||||
};
|
||||
|
||||
[NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
[SecureContext, NoInterfaceObject, Exposed=(Window,Worker)]
|
||||
interface NavigatorStorage {
|
||||
[Func="mozilla::dom::StorageManager::PrefEnabled"]
|
||||
readonly attribute StorageManager storage;
|
||||
|
|
|
@ -8,7 +8,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
[Exposed=(Window,Worker),
|
||||
[SecureContext,
|
||||
Exposed=(Window,Worker),
|
||||
Func="mozilla::dom::StorageManager::PrefEnabled"]
|
||||
interface StorageManager {
|
||||
// [Throws]
|
||||
|
|
Загрузка…
Ссылка в новой задаче