[Webkit-unassigned] [Bug 21961] for-in loops should not include undetectable properties (e.g. document.all)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 14 13:12:52 PDT 2021


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

Alexey Shvayka <shvaikalesh at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |shvaikalesh at gmail.com
         Resolution|---                         |WONTFIX

--- Comment #2 from Alexey Shvayka <shvaikalesh at gmail.com> ---
(In reply to Jon at Chromium from comment #0)
> Originated in Chromium bug tracker, see
> http://code.google.com/p/chromium/issues/detail?id=3152

As it was concluded in Chromium bug tracker, `document.all` should be enumerable.
[[IsHTMLDDA]] tries to fix web compatibility by introducing the minimum number of quirks necessary, thus keeping the ordinary value of [[Enumerable]].
This is tested by wpt/html/dom/idlharness.https.html (https://github.com/web-platform-tests/wpt/blob/afae1650e3441650024d04dc5837348ae3e0b049/resources/idlharness.js#L2903).

-- 
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/20210514/7a1fdef8/attachment-0001.htm>


More information about the webkit-unassigned mailing list