mozilla/addon-sdk — pull request #438 by ochameau (2012-05-15 16:04:09+00:00)
Title: Avoid strict warnings when a test is failing.

We are currently getting many such warnings when a test is failing:
console: [JavaScript Warning: "reference to undefined property "failure"" {file:
"resource://731f1373-8740-42db-9f10-db6129a83a67-at-jetpack/api-utils/lib/cuddl
efish.js -> resource://731f1373-8740-42db-9f10-db6129a83a67-at-jetpack/api-utils
/lib/unit-test.js" line: 47}]

Here is a patch to get rid of these messages.