Closed
Bug 959030
Opened 11 years ago
Closed 11 years ago
PlacesBackups deprecation warning and potential hidden issues
Categories
(Toolkit :: Places, defect)
Toolkit
Places
Tracking
()
RESOLVED
FIXED
mozilla30
People
(Reporter: rnewman, Assigned: mak)
References
Details
yield PlacesBackups.create(null, true);
=>
DEPRECATION WARNING: PlacesBackups.entries is deprecated and will be removed in a future version
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=859695
resource://gre/modules/PlacesBackups.jsm 86 this.PlacesBackups.entries
resource://gre/modules/PlacesBackups.jsm 245 PB_saveBookmarksToJSONFile/<
DEPRECATION WARNING: PlacesBackups.folder is deprecated and will be removed in a future version
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=859695
resource://gre/modules/PlacesBackups.jsm 42 this.PlacesBackups.folder
resource://gre/modules/PlacesBackups.jsm 90 this.PlacesBackups.entries
resource://gre/modules/PlacesBackups.jsm 245 PB_saveBookmarksToJSONFile/<
from
if (aFile.parent.path == backupFolderPath) {
// Update internal cache.
this.entries.push(aFile);
In the course of evaluating `this.entries`, two deprecation warnings are being triggered.
This certainly shouldn't be dumping deprecation warnings, and given that it is, there might be an actual coding error hiding here.
Assignee | ||
Comment 1•11 years ago
|
||
fixed by bug 824433
Assignee: nobody → mak77
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in
before you can comment on or make changes to this bug.
Description
•