Ticket #5334 (closed defect: invalid)
Testing for "instanceof Array" does not work across page boundaries (iframe-to-iframe)
| Reported by: | guest | Owned by: | anonymous |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | General | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by ttrenka) (diff)
Because each page has a global context with its own "Array" function, if code on one page passes an array to a function on a separate page, the test "array instanceof Array" will fail. Thus, a Dojo API that behaves differently for array-valued parameters will do the wrong thing in that case.
Change History
Note: See
TracTickets for help on using
tickets.