Ticket #2531337 (closed defect)
ReporterRichard Zurad |
Opened: 10/26/11 Last modified: 05/10/12 Status: closed Type: defect Resolution: fixed |
Owner Allen Rabinovich |
Target Release: 3.5.0 Priority: P3 (normal) |
|---|---|---|---|
| Summary: | Fix the `for...in` inside Calendar with a `hasOwnProperty` check | ||
| Description: | Inside `CalendarBase` in the `_isNumInList` function, there is a for...in loop that does not do a `hasOwnProperty` check for each property on the Array it is iterating through, which will obviously Regardless of your opinion on the issue of extending host/native prototypes in your runtime, YUI is a framework, and a framework should not assume that the host environment has not been modified. |
||
| Type: | defect | Observed in Version: | 3.4.1 |
| Component: | Calendar | Severity: | S3 (normal) |
| Assigned To: | Allen Rabinovich | Target Release: | 3.5.0 |
| Location: | Priority: | P3 (normal) | |
| Tags: | Relates To: | ||
| Browsers: | All | ||
| URL: | |||
| Test Information: | |||
Change History
|
Posted: 12/16/11
|
|
Posted: 02/1/12
|
|
Posted: 02/1/12
|
|
Posted: 02/1/12
|
|
Posted: 02/15/12
|
|
Posted: 03/5/12
|
|
Posted: 05/10/12
checkedin -> closed |
|
Posted: 05/10/12
checkedin -> closed |
Arnaud Didry
Pull request here https://github.com/yui/yui3/pull/50