Closed
Bug 286881
Opened 20 years ago
Closed 20 years ago
In <newsblog.js>, 2 "Warning: trailing comma is not legal in ECMA-262 object initializers"
Categories
(MailNews Core :: Feed Reader, defect)
MailNews Core
Feed Reader
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sgautherie, Assigned: sgautherie)
References
Details
Attachments
(1 file)
|
837 bytes,
patch
|
mscott
:
review+
mscott
:
superreview+
asa
:
approval-aviary1.1a1-
asa
:
approval-aviary1.1a2+
|
Details | Diff | Splinter Review |
[Mozilla Thunderbird, version 1.0+ (20050319)] (nightly) (W98SE)
{{
Warning: trailing comma is not legal in ECMA-262 object initializers
Source File: file:///W:/PROGRAM%20FILES/MOZILLA%20THUNDERBIRD/components/newsblog.js
Line: 281
Source Code:
};
Warning: trailing comma is not legal in ECMA-262 object initializers
Source File: file:///W:/PROGRAM%20FILES/MOZILLA%20THUNDERBIRD/components/newsblog.js
Line: 361, Column: 2
Source Code:
},
}}
when starting TB.| Assignee | ||
Comment 1•20 years ago
|
||
[Mozilla Thunderbird, version 1.0+ (20050319)] (nightly) (W98SE) Could you review/check in this patch ? Thanks.
| Assignee | ||
Comment 2•20 years ago
|
||
Brendan, it seems that the line (number) for this warning should be 1 less: is it something fixable ?
Target Milestone: --- → Thunderbird1.1
Comment 3•20 years ago
|
||
Serge, this isn't easy to fix. The SpiderMonkey lexical scanner was designed to point to an offending token in the currently-buffered line. I'd rather fix this by bootstrapping the next-gen JS front end (Narcissus). If you want to file a bug on this assigned to general@js.bugs, feel free and cc: me. /be
Updated•20 years ago
|
Attachment #177979 -
Flags: superreview+
Attachment #177979 -
Flags: review?(mscott)
Attachment #177979 -
Flags: review+
| Assignee | ||
Comment 4•20 years ago
|
||
(In reply to comment #3) > If you want to file a > bug on this assigned to general@js.bugs, feel free and cc: me. I filed Bug 286937: "Warning: trailing comma is not legal in ECMA-262 object initializers" Line and Source Code should be the preceding line
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [checkin-needed]
| Assignee | ||
Updated•20 years ago
|
Attachment #177979 -
Flags: approval-aviary1.1a?
Updated•20 years ago
|
Attachment #177979 -
Flags: approval-aviary1.1a? → approval-aviary1.1a-
Comment 5•20 years ago
|
||
has this patch landed yet on the trunk? it not could someone check it in, since it has both r= and sr=
| Assignee | ||
Comment 6•20 years ago
|
||
(In reply to comment #5) > has this patch landed yet on the trunk? it not could someone check it in, since > it has both r= and sr= See '[checkin-needed]' and 'asa: approval-aviary1.1a1-' ... I'm helpless.
| Assignee | ||
Comment 7•20 years ago
|
||
Comment on attachment 177979 [details] [diff] [review] (Av1) <newsblog.js> [Checked in: Comment 8 and 9] 'approval-aviary1.1a2=?': Trivial JS code cleanup, no risk.
Attachment #177979 -
Flags: approval-aviary1.1a2?
Updated•20 years ago
|
Attachment #177979 -
Flags: approval-aviary1.1a2? → approval-aviary1.1a2+
Comment 8•20 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•20 years ago
|
||
Comment on attachment 177979 [details] [diff] [review] (Av1) <newsblog.js> [Checked in: Comment 8 and 9] Brian checked it in without the ";" removal. I won't bother.
Attachment #177979 -
Attachment description: (Av1) <newsblog.js> → (Av1) <newsblog.js>
[Checked in: Comment 8 and 9]
Attachment #177979 -
Attachment is obsolete: true
| Assignee | ||
Updated•20 years ago
|
Whiteboard: [checkin-needed]
Updated•20 years ago
|
Attachment #177979 -
Attachment is obsolete: false
Component: RSS → Feed Reader
Product: Thunderbird → MailNews Core
Target Milestone: Thunderbird1.1 → ---
| Assignee | ||
Updated•16 years ago
|
QA Contact: rss
You need to log in
before you can comment on or make changes to this bug.
Description
•