Bug 1048291 - Deprecate File::lastModifiedDate, r=smaug

This commit is contained in:
Andrea Marchesini 2016-05-31 17:22:39 +02:00
Родитель 4df0a8d12e
Коммит d466f0aab2
3 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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"]