[Webkit-unassigned] [Bug 70810] nameNodeListCache should be invalidated when name attribute changes/modified.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 9 10:49:22 PST 2011


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #118594|review?                     |review+
               Flag|                            |




--- Comment #20 from Ryosuke Niwa <rniwa at webkit.org>  2011-12-09 10:49:21 PST ---
(From update of attachment 118594)
View in context: https://bugs.webkit.org/attachment.cgi?id=118594&action=review

> LayoutTests/fast/dom/getelementsbyname-invalidation-cache.html:32
> +    shouldBeTrue("document.getElementsByName('fullname').length != oldLength");

You could create a function like createElement() that takes a tag name and returned the element. That way, shouldBeTrue will include the tag name and you don't need to add extra lines by debug.

-- 
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