[Webkit-unassigned] [Bug 7543] New: Computed style object presents duplicate properties when using "for..in"

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Mar 1 18:27:29 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7543

           Summary: Computed style object presents duplicate properties when
                    using "for..in"
           Product: WebKit
           Version: 417.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: ytpete at gmail.com


1. Open testcase
2. Click the button to list all the properties of a computedStyle object
3. Click the button again

Expected result:
The list is the same in both cases

Actual result:
The second time, the list contains several duplicated items.  This should NEVER
happen when iterating the keys of a JavaScript object using "for ... in".

The duplicated items are:
getPropertyValue, getPropertyCSSValue, removeProperty, getPropertyPriority,
setProperty, item

Clicking additional times gives the same results as the 2nd click.  No further
duplicates are added.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list