зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1048291 - Deprecate File::lastModifiedDate, r=smaug
This commit is contained in:
Родитель
4df0a8d12e
Коммит
d466f0aab2
|
@ -47,3 +47,4 @@ DEPRECATED_OPERATION(AppCache)
|
|||
DEPRECATED_OPERATION(PrefixedFullscreenAPI)
|
||||
DEPRECATED_OPERATION(LenientSetter)
|
||||
DEPRECATED_OPERATION(NavigatorBattery)
|
||||
DEPRECATED_OPERATION(FileLastModifiedDate)
|
||||
|
|
|
@ -229,3 +229,4 @@ PushMessageDecryptionFailure=The ServiceWorker for scope ‘%1$S’ encountered
|
|||
# LOCALIZATION NOTE: %1$S is the type of a DOM event. 'passive' is a literal parameter from the DOM spec.
|
||||
PreventDefaultFromPassiveListenerWarning=Ignoring ‘preventDefault()’ call on event of type ‘%1$S’ from a listener registered as ‘passive’.
|
||||
NavigatorBatteryWarning=navigator.battery is deprecated. Use navigator.getBattery() instead.
|
||||
FileLastModifiedDateWarning=File.lastModifiedDate is deprecated. Use File.lastModified instead.
|
||||
|
|
|
@ -41,7 +41,7 @@ dictionary ChromeFilePropertyBag : FilePropertyBag {
|
|||
// Mozilla extensions
|
||||
partial interface File {
|
||||
|
||||
[GetterThrows]
|
||||
[GetterThrows, Deprecated="FileLastModifiedDate"]
|
||||
readonly attribute Date lastModifiedDate;
|
||||
|
||||
[BinaryName="path", Func="mozilla::dom::Directory::WebkitBlinkDirectoryPickerEnabled"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче