[Webkit-unassigned] [Bug 110983] getOwnPropertyNames returns bogus results for getElementsByTagName return values

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 9 15:21:10 PDT 2022


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

Ahmad Saleem <zlip.792 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |zlip.792 at gmail.com
         Resolution|---                         |CONFIGURATION CHANGED

--- Comment #1 from Ahmad Saleem <zlip.792 at gmail.com> ---
I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 and it shows following:

list = document.getElementsByTagName('pre'): [object HTMLCollection]
list['x']: [object HTMLPreElement]
'x' in list: true
list.hasOwnProperty('x'): true
Object.getOwnPropertyDescriptor(list, 'x'): [object Object]
Object.getOwnPropertyNames(list): 0,x

Which is same as other browsers - Chrome Canary 106 and Firefox Nightly 105. I think it was fixed along the way, I am going to mark this as "RESOLVED CONFIGURATION CHANGED", if it is not fixed, please reopen and share reproducible test case. Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220809/8cc6c738/attachment.htm>


More information about the webkit-unassigned mailing list