Closed
Bug 1242200
Opened 8 years ago
Closed 8 years ago
calendar-month-view.xml, line 933: TypeError: can't assign to properties of (new Number(7)): not an object
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
FIXED
4.8
People
(Reporter: aleth, Assigned: bv1578)
Details
Attachments
(1 file)
1.15 KB,
patch
|
aleth
:
review+
|
Details | Diff | Splinter Review |
On startup: JavaScript strict warning: chrome://calendar/content/calendar-month-view.xml, line 932: TypeError: can't assign to properties of (new Number(7)): not an object JavaScript strict warning: chrome://calendar/content/calendar-month-view.xml, line 933: TypeError: can't assign to properties of (new Number(7)): not an object
I can't reproduce the error message on startup, but since the property ChildNodes returns a list of type NodeList, I think that using the statement for ... in is wrong in this case.
Comment 2•8 years ago
|
||
It is not an error, it is just a warning in strict mode.
Reporter | ||
Comment 3•8 years ago
|
||
Comment on attachment 8711441 [details] [diff] [review] patch-v1 Review of attachment 8711441 [details] [diff] [review]: ----------------------------------------------------------------- Thanks.
Attachment #8711441 -
Flags: review?(aleth) → review+
Reporter | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/comm-central/rev/6f577ad0e636c1f8b6fb9379c3100f0204f912c8 Bug 1242200 - calendar-month-view.xml, line 933: TypeError: can't assign to properties of (new Number(7)): not an object r=aleth
Reporter | ||
Updated•8 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.8
You need to log in
before you can comment on or make changes to this bug.
Description
•