Closed
Bug 628893
Opened 14 years ago
Closed 14 years ago
Fix use of enum and other reserved words since Bug 497869 landed
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1b2
People
(Reporter: philip.chee, Assigned: philip.chee)
References
Details
Attachments
(1 file)
2.50 KB,
patch
|
Callek
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b10pre) Gecko/20110125 SeaMonkey/2.1b2pre
Error: enum is a reserved identifier
Source file: resource://gre/components/smileApplication.js
Line: 365, Column: 8
Source code:
var enum = Utilities.windowMediator.getEnumerator("navigator:browser");
Error: Factory not registered = NS_ERROR_FACTORY_NOT_REGISTERED
Source file: chrome://communicator/content/bindings/notification.xml
Line: 1175
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #507029 -
Flags: review?(bugspam.Callek)
Updated•14 years ago
|
Attachment #507029 -
Flags: review?(bugspam.Callek) → review+
Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 507029 [details] [diff] [review]
Patch Ev1.0 fix enum strict errors
[Checked in: Comment 2]
Pushed to comm-central
http://hg.mozilla.org/comm-central/rev/75488924c92f
Leaving open in case other strict errors crop up.
Assignee | ||
Comment 3•14 years ago
|
||
Jens, You might want to take note of this:
> +++ b/browser/base/content/syncSetup.js
> @@ -875,19 +875,19 @@ var gSyncSetup = {
> _setFeedback: function (element, success, string) {
> element.hidden = success || !string;
> - let class = success ? "success" : "error";
> + let classname = success ? "success" : "error";
> let image = element.getElementsByAttribute("class", "statusIcon")[0];
> - image.setAttribute("status", class);
> + image.setAttribute("status", classname);
Comment 4•14 years ago
|
||
(In reply to comment #3)
> Jens, You might want to take note of this:
TUVM! Will take care of it in bug 618709 / bug 576970.
Comment 5•14 years ago
|
||
Bustage-fix for bug 576970 comment 178:
http://hg.mozilla.org/comm-central/rev/0f313f7b192e
(AAv1) Fix xpcshell bustage from bug 576970, copied from bug 497869
Updated•14 years ago
|
Attachment #507029 -
Attachment description: Patch Ev1.0 fix enum strict errors. → Patch Ev1.0 fix enum strict errors
[Checked in: Comment 2]
Comment 6•14 years ago
|
||
Ftr, from bug 497869:
*syncSetup.js: Jens did it.
*nsBrowserGlue.js: I did it.
*fuelApplication.js: Philip did it
;-)
Let's reopen if need be.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1b2
You need to log in
before you can comment on or make changes to this bug.
Description
•