[Webkit-unassigned] [Bug 160379] Cannot traverse document.getElementsByTagName in sec.sogou.com

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jul 30 10:03:44 PDT 2016


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

--- Comment #4 from Chris Dumez <cdumez at apple.com> ---
> elements = document.getElementsByTagName("a")
< HTMLCollection [<a>, <a>, <a>, <a>, <a>, <a>, <a id="login">, <a id="user">, <a>, <a>, …] (39)
> elements.length
< 39
> for (var i = 0; i < elements.length; i++) { console.log(elements[i]); }
< undefined
> elements[1]
< <a href="/">首页</a>

So it looks like console.log() is not working?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160730/c5297818/attachment.html>


More information about the webkit-unassigned mailing list