Closed
Bug 772532
Opened 12 years ago
Closed 12 years ago
XPIProvider.jsm spews warnings during some xpcshell tests
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: froydnj, Assigned: froydnj)
Details
Attachments
(1 file)
7.91 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
When running 'make -C toolkit/components/telemetry/tests/ xpcshell-tests', I see: JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:150 test for equality (==) mistyped as assignment (=)? JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:308 redeclaration of function logSQLError JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:318 redeclaration of function asyncErrorLogger JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:329 redeclaration of function executeStatement JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:347 redeclaration of function stepStatement JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:367 redeclaration of function AsyncAddonListCallback JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:380 test for equality (==) mistyped as assignment (=)? JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:1206 test for equality (==) mistyped as assignment (=)? JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:1257 test for equality (==) mistyped as assignment (=)? JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:1292 test for equality (==) mistyped as assignment (=)? JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:1313 test for equality (==) mistyped as assignment (=)? JS Component Loader: WARNING resource://gre/modules/XPIProvider.jsm -> resource://gre/modules/XPIProviderUtils.js:1624 function XPIDB_getAddons does not always return a value in the test_TelemetryPing.js.log file.
Assignee | ||
Comment 1•12 years ago
|
||
Not a huge fan of the while() assignment fixes, but the duplicated function deletion is a definite improvement.
Attachment #640726 -
Flags: review?(bmcbride)
Comment 2•12 years ago
|
||
Comment on attachment 640726 [details] [diff] [review] patch Review of attachment 640726 [details] [diff] [review]: ----------------------------------------------------------------- Huh, could have sworn I'd removed that duplication in a previous version of the patch that split out XPIProviderUtils.js. And, hmm yea, I've never really liked using while loops like that anyway... wish aResults were a generator. Still, less noise = good. Thanks :)
Attachment #640726 -
Flags: review?(bmcbride) → review+
Updated•12 years ago
|
Assignee: nobody → nfroyd
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f8a42c0ed58a (In reply to Blair McBride (:Unfocused) from comment #2) > And, hmm yea, I've never really liked using while loops like that anyway... > wish aResults were a generator. Still, less noise = good. Thanks :) Yeah, a generator would be much nicer here. Thanks for the review!
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f8a42c0ed58a
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in
before you can comment on or make changes to this bug.
Description
•