Closed Bug 1282392 Opened 9 years ago Closed 9 years ago

xbl bindings fail with unused "bindings" when no-unused-vars is enabled

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

3 Branch
defect
Not set
normal

Tracking

(firefox50 fixed)

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: Fallen, Assigned: Fallen)

References

Details

Attachments

(1 file)

The generated code starts with |var bindings = {...| which causes no-unused-vars to fail. I proposed to change this to |this.bindings = {| which doesn't cause that message.
Summary: xbl bindings fail with undefined "bindings" when no-unused-vars is enabled → xbl bindings fail with unused "bindings" when no-unused-vars is enabled
Attached patch Fix - v1Splinter Review
Attachment #8765401 - Flags: review?(mratcliffe)
Attachment #8765401 - Flags: review?(mratcliffe) → review+
Thanks for the quick review!
Blocks: 1280898
Keywords: checkin-needed
Pushed by cbook@mozilla.com: https://hg.mozilla.org/integration/fx-team/rev/4763e5023658 xbl bindings fail with unused "bindings" when no-unused-vars is enabled. r=miker
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Product: Testing → Firefox Build System
Version: Version 3 → 3 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: