[Webkit-unassigned] [Bug 183087] Safari not handling undefined global variables with same name as element Id correctly.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 27 10:17:58 PST 2018


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

--- Comment #8 from Chris Dumez <cdumez at apple.com> ---
(In reply to Keith Miller from comment #7)
> Without looking closer I would guess this is because of the way that
> JSGlobalObject does getOwnPropertySlot and addGlobalVariable. If you define
> a variable it won't clear the existing global property, which I assume is
> the '<div id="someElement"></div>'. And when you do a getOwnPropertySlot on
> the global object it will see the old global property instead of shadowing.
> This is just a hunch, I can debug it more thoroughly later.

This would be great, thanks Keith.

-- 
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/20180227/1e3ad994/attachment-0001.html>


More information about the webkit-unassigned mailing list