If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Warning: reference to undefined property this.installDate

RESOLVED WORKSFORME

Status

()

Toolkit
Application Update
RESOLVED WORKSFORME
3 years ago
3 years ago

People

(Reporter: aceman, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

3 years ago
I get this warning when starting TB:
Warning: reference to undefined property this.installDate
Source File: resource://gre/components/nsUpdateService.js
Line: 1588

The code at that place says:
  // Set the initial value with the current time when it doesn't already have a
  // value or the value is already set to 0 (bug 316328).
  if (!this.installDate && this.installDate != 0)
    this.installDate = (new Date()).getTime();

Should the condition be:
"if (("installDate" in this) || this.installDate == 0)" ?
Or is it some other problem?
This code has been rewritten. If you can still reproduce using nightly please reopen.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.