Closed Bug 1224532 Opened 9 years ago Closed 9 years ago

"Expression closures are deprecated" warnings

Categories

(Instantbird Graveyard :: Other, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Instantbird 45

People

(Reporter: aleth, Assigned: aleth)

Details

Attachments

(1 file)

Timestamp: 13/11/2015, 13:14:00
Warning: expression closures are deprecated
Source File: chrome://instantbird/content/instantbird.xul
Line: 86, Column: 2
Source Code:
  Math.round(coef * Math.log(aInterval + 1)) - 15 + shadow 

JavaScript warning: components/logger.js, line 162: expression closures are deprecated

xmpp.jsm line 171
Assignee: nobody → aleth
Status: NEW → ASSIGNED
(In reply to aleth [:aleth] from comment #0)
> Timestamp: 13/11/2015, 13:14:00
> Warning: expression closures are deprecated
> Source File: chrome://instantbird/content/instantbird.xul
> Line: 86, Column: 2
> Source Code:
>   Math.round(coef * Math.log(aInterval + 1)) - 15 + shadow 

This one is in Footer.html and already fixed.
Comment on attachment 8687599 [details] [diff] [review]
Fix some "Expression closures are deprecated" warnings

Review of attachment 8687599 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks. Wonder how we missed these!
Attachment #8687599 - Flags: review?(clokep) → review+
https://hg.mozilla.org/comm-central/rev/d06b932c7759a966de8e6aa71673bbd7d0ebd142
Bug 1224532 - Fix some "Expression closures are deprecated" warnings. r=clokep
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Instantbird 45
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: