[Webkit-unassigned] [Bug 129671] New: inSynchronizationOfLazyAttribute is making setAttributeInternal incomprehensible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 4 01:40:21 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129671

           Summary: inSynchronizationOfLazyAttribute is making
                    setAttributeInternal incomprehensible
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: koivisto at iki.fi, benjamin at webkit.org, akling at apple.com


inSynchronizationOfLazyAttribute is evaluated 4 times in various conditions even though
all can just call ensureUniqueElementData().attributeAt(index).setValue(newValue) and exit early when it's true.

Just do that so that the rest of code is more readable.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list