Closed
Bug 958793
Opened 12 years ago
Closed 11 years ago
Add 'use strict' to application update
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla40
| Tracking | Status | |
|---|---|---|
| firefox40 | --- | fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file, 3 obsolete files)
|
23.17 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
While testing the patch in bug 956468 which added 'use strict' to nsUpdateService.js I encountered some test failures. The failures should be diagnosed and 'use strict' added to nsUpdateService.js and other files.
| Assignee | ||
Comment 1•12 years ago
|
||
Note: checked unit_aus_update tests... so far
downloadAndHashCheckMar.js and downloadInterruptedRecovery.js both failed. In the output is the following.
*** AUS:SVC Downloader:_verifyDownload - failed to compute hash of the downloaded update archive
| Assignee | ||
Comment 2•11 years ago
|
||
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8588953 -
Attachment is obsolete: true
| Assignee | ||
Comment 4•11 years ago
|
||
Attachment #8588975 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•11 years ago
|
||
| Assignee | ||
Comment 6•11 years ago
|
||
Comment on attachment 8589255 [details] [diff] [review]
patch rev1
Try run is looking good
https://treeherder.mozilla.org/#/jobs?repo=try&revision=e30f21be7339
Attachment #8589255 -
Flags: review?(spohl.mozilla.bugs)
Comment 7•11 years ago
|
||
Comment on attachment 8589255 [details] [diff] [review]
patch rev1
Review of attachment 8589255 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/mozapps/update/nsUpdateService.js
@@ +616,5 @@
> + */
> +XPCOMUtils.defineLazyGetter(this, "gCanStageUpdatesSession",
> + function aus_gCanStageUpdatesSession() {
> + try {
> + var updateTestFile = getInstallDirRoot();
nit (since we're touching this): s/var/let/
@@ +1922,5 @@
> * See nsIPropertyBag.idl
> */
> get enumerator() {
> var properties = [];
> + for (var p in this._properties) {
nit: s/var/let/
Attachment #8589255 -
Flags: review?(spohl.mozilla.bugs) → review+
| Assignee | ||
Comment 8•11 years ago
|
||
Attachment #8589255 -
Attachment is obsolete: true
Attachment #8589886 -
Flags: review+
| Assignee | ||
Comment 9•11 years ago
|
||
Comment 11•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
status-firefox40:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla40
You need to log in
before you can comment on or make changes to this bug.
Description
•