[Webkit-unassigned] [Bug 25498] No login form at myvodafone.vodafone.in because elements in document.all cannot be accessed by name

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 30 14:49:19 PDT 2022


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zlip.792 at gmail.com

--- Comment #4 from Ahmad Saleem <zlip.792 at gmail.com> ---
This got fixed in this commit in Chromium:

https://chromium.googlesource.com/chromium/src.git/+/e2fa87bd68aea47baf3ad53b8c9a088f60a13536

Where they added <applet> and <button> tag in the HTMLCollection.cpp but in Webkit, we don't have these:

https://github.com/WebKit/WebKit/blob/8afe31a018b11741abdf9b4d5bb973d7c1d9ff05/Source/WebCore/html/CachedHTMLCollection.h#L107

but Webkit follows the list from web-spec:

https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#all-named-elements

"The following elements are "all"-named elements: a, button, embed, form, frame, frameset, iframe, img, input, map, meta, object, select, and textarea".

I tried "reductions" from zip, only in Quirks Mode, Safari Technology Preview 152 matches with Chrome Canary 107 but differs from Firefox Nightly 106 besides that there is no change in behavior.

I tried to turn Chromium patch test case to following JSFiddle:

Link - https://jsfiddle.net/7afgx1y0/

But it does not work and don't display anything.

I will leave it for others to confirm or comment whether it is something yet to be fixed or not. 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/20220830/c27e0008/attachment-0001.htm>


More information about the webkit-unassigned mailing list