Closed Bug 598853 Opened 14 years ago Closed 14 years ago

Fix "assignment to undeclared variable" warning in test-manifest

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: adw, Assigned: adw)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
Running `cfx test` generates this warning:

  console: [JavaScript Warning: "assignment to undeclared variable warnings" {file: "file:///Users/adw/jetpack-sdk/packages/jetpack-core/lib/securable-module.js -> resource://jetpack-core-jetpack-core-lib/securable-module.js -> resource://jetpack-core-jetpack-core-tests/test-manifest.js" line: 55}]

Which causes this to be emitted at the very end of the output:

  warning: 1 warnings or errors were logged to the platform's nsIConsoleService, which could be of no consequence; however, they could also be indicative of aberrant behavior.

Easy fix!  The `warnings` variable is undeclared.
Attachment #477858 - Flags: review?(myk)
Comment on attachment 477858 [details] [diff] [review]
patch

Excellent! r+a=myk
Attachment #477858 - Flags: review?(myk) → review+
http://hg.mozilla.org/labs/jetpack-sdk/rev/7d01e428b30f
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: -- → 0.8
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product.

To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
Version: Trunk → unspecified
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: