mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-17 14:25:49 +00:00
Bug 1500343 - Deprecate IDBDatabase.createMutableFile and IDBMutableFile.open r=janv,dom-storage-reviewers,emilio
This replaces the previous `[UseCounter]`s with `[Deprecated]`s, since the latter also collects use counters. Differential Revision: https://phabricator.services.mozilla.com/D135070
This commit is contained in:
parent
4abc5956e9
commit
f57759070e
@ -58,10 +58,6 @@ attribute OfflineResourceList.onupdateready
|
||||
attribute OfflineResourceList.oncached
|
||||
attribute OfflineResourceList.onobsolete
|
||||
|
||||
// Non-standard IndexedDB API
|
||||
method IDBDatabase.createMutableFile
|
||||
method IDBMutableFile.open
|
||||
|
||||
// DataTransfer API (gecko-only methods)
|
||||
method DataTransfer.addElement
|
||||
attribute DataTransfer.mozItemCount
|
||||
|
@ -62,3 +62,5 @@ DEPRECATED_OPERATION(ElementSetCapture)
|
||||
DEPRECATED_OPERATION(ElementReleaseCapture)
|
||||
DEPRECATED_OPERATION(DocumentReleaseCapture)
|
||||
DEPRECATED_OPERATION(OffscreenCanvasToBlob)
|
||||
DEPRECATED_OPERATION(IDBDatabaseCreateMutableFile)
|
||||
DEPRECATED_OPERATION(IDBMutableFileOpen)
|
||||
|
@ -429,3 +429,8 @@ WebExtensionUncheckedLastError=browser.runtime.lastError value was not checked:
|
||||
|
||||
# LOCALIZATION NOTE: Do not translate "OffscreenCanvas.toBlob()" and "OffscreenCanvas.convertToBlob()".
|
||||
OffscreenCanvasToBlobWarning=OffscreenCanvas.toBlob() is deprecated. Use OffscreenCanvas.convertToBlob() instead.
|
||||
|
||||
# LOCALIZATION NOTE: Do not translate "IDBDatabase.createMutableFile()"
|
||||
IDBDatabaseCreateMutableFileWarning=IDBDatabase.createMutableFile() is deprecated. If this API gets standardized, it will likely do so under the Origin Private File System effort at https://bugzil.la/1748667.
|
||||
# LOCALIZATION NOTE: Do not translate "IDBMutableFile.open()"
|
||||
IDBMutableFileOpenWarning=IDBMutableFile.open() is deprecated. If this API gets standardized, it will likely do so under the Origin Private File System effort at https://bugzil.la/1748667.
|
||||
|
@ -39,6 +39,6 @@ partial interface IDBDatabase {
|
||||
[Func="mozilla::dom::IndexedDatabaseManager::ExperimentalFeaturesEnabled"]
|
||||
readonly attribute StorageType storage;
|
||||
|
||||
[Exposed=Window, Throws, UseCounter]
|
||||
[Exposed=Window, Throws, Deprecated="IDBDatabaseCreateMutableFile"]
|
||||
IDBRequest createMutableFile (DOMString name, optional DOMString type);
|
||||
};
|
||||
|
@ -10,7 +10,7 @@ interface IDBMutableFile : EventTarget {
|
||||
|
||||
readonly attribute IDBDatabase database;
|
||||
|
||||
[Throws, UseCounter]
|
||||
[Throws, Deprecated="IDBMutableFileOpen"]
|
||||
IDBFileHandle open(optional FileMode mode = "readonly");
|
||||
|
||||
attribute EventHandler onabort;
|
||||
|
Loading…
x
Reference in New Issue
Block a user