Fix some undefined property references in PlacesUtils.jsm and History.jsm

RESOLVED FIXED in Firefox 63

Status

()

enhancement
P2
normal
RESOLVED FIXED
11 months ago
11 months ago

People

(Reporter: standard8, Assigned: standard8)

Tracking

unspecified
mozilla63
Points:
---

Firefox Tracking Flags

(firefox63 fixed)

Details

(Whiteboard: [fxsearch])

Attachments

(1 attachment)

I believe I've noticed this running a few of the history tests, but I also noticed this recently when working on test_DownloadLegacy.js.

There's a couple of strict warnings raised near the start of the test:

JavaScript strict warning: resource://gre/modules/PlacesUtils.jsm, line 1065: ReferenceError: reference to undefined property "description"
JavaScript strict warning: resource://gre/modules/History.jsm, line 1518: ReferenceError: reference to undefined property "description"

When I fix those, it also reveals warnings about "previewImageURL".

Not a huge priority, but I think we should fix those anyway to make the output cleaner.
Comment on attachment 9004566 [details]
Bug 1486783 - Fix some undefined property references to description and previewImageURL in PlacesUtils.jsm and History.jsm.

Marco Bonardo [::mak] has approved the revision.
Attachment #9004566 - Flags: review+
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24ecf2822560
Fix some undefined property references to description and previewImageURL in PlacesUtils.jsm and History.jsm. r=mak
https://hg.mozilla.org/mozilla-central/rev/24ecf2822560
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.