Closed Bug 1048989 Opened 10 years ago Closed 10 years ago

Fix 'useless expression' warnings with MERGED_COMPONENT

Categories

(Firefox Health Report Graveyard :: Client: Desktop, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: poiru, Assigned: poiru)

Details

Attachments

(1 file)

When HealthReport.jsm, Metrics.jsm or DataReportingService.js are loaded, the log is spewed with a bunch of warnings like this:

System JS : WARNING resource://gre/modules/HealthReport.jsm:241 - useless expression
System JS : WARNING resource://gre/modules/Metrics.jsm:26 - useless expression

The is due the `"use strict";` expressions in the #included files.
Attachment #8467883 - Flags: review?(gps) → review+
https://hg.mozilla.org/mozilla-central/rev/dbd45a6fec49
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 34
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: