[Webkit-unassigned] [Bug 33696] let's cache nodelists instead of dynamicnodelist::cache
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jan 21 01:52:37 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=33696
--- Comment #20 from Maciej Stachowiak <mjs at apple.com> 2010-01-21 01:52:35 PST ---
It appears that Firefox (both 3.5.2 and Minefield) actually return the same
NodeList repeatedly from getElementsByTagName, in violation of the spec. I was
unable to figure out if this is intentional or a bug. Test case:
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!DOCTYPE%20html%3E%0A%3Cp%3Etest%3C%2Fp%3E%0A%3Cscript%3E%0Avar%20a%20%3D%20document.getElementsByTagName%28%22p%22%29%3B%0Aa.foo%20%3D%20%22FAIL%22%0Avar%20b%20%3D%20document.getElementsByTagName%28%22p%22%29%3B%0Aw%28%22Same%20object%3A%20%22%20%2B%20%28a%20%3D%3D%3D%20b%29%29%3B%0Aw%28%22foo%20property%3A%20%22%20%2B%20b.foo%29%3B%0A%3C%2Fscript%3E%0A
--
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