[Webkit-unassigned] [Bug 222228] postMessage changes prototype of basic types
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 24 10:14:55 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=222228
--- Comment #6 from Chris Dumez <cdumez at apple.com> ---
(In reply to Chris Dumez from comment #5)
> Indeed, I see this in STP 120:
> [Log] is Object before postMessage?: – true
> (iframeConsoleRunner-
> 7f4d47902dc785f30dedcac9c996b9f31d4dfcc33567cc48f0431bc918c2bf05.js, line 1)
> [Log] is Array before postMessage?: – true
> (iframeConsoleRunner-
> 7f4d47902dc785f30dedcac9c996b9f31d4dfcc33567cc48f0431bc918c2bf05.js, line 1)
> [Log] is Object after postMessage?: – false
> (iframeConsoleRunner-
> 7f4d47902dc785f30dedcac9c996b9f31d4dfcc33567cc48f0431bc918c2bf05.js, line 1)
> [Log] is Array after postMessage?: – false
> (iframeConsoleRunner-
> 7f4d47902dc785f30dedcac9c996b9f31d4dfcc33567cc48f0431bc918c2bf05.js, line 1)
>
> and this in my System Safari:
> [Log] is Object before postMessage?: – true (xxRLPKp, line 52)
> [Log] is Array before postMessage?: – true (xxRLPKp, line 53)
> [Log] is Object after postMessage?: – true (xxRLPKp, line 45)
> [Log] is Array after postMessage?: – true (xxRLPKp, line 46)
>
> I will bisect.
Never mind, I am not actually seeing a recent regression. The difference I saw was before and after a reload.
If I load https://codepen.io/sechel/pen/xxRLPKp, I see:
[Log] is Object before postMessage?: – true
[Log] is Array before postMessage?: – true
[Log] is Object after postMessage?: – true
[Log] is Array after postMessage?: – true
If I press the reload button, I see:
[Log] is Object before postMessage?: – true
[Log] is Array before postMessage?: – true
[Log] is Object after postMessage?: – false
[Log] is Array after postMessage?: – false
I see this behavior in STP 120 as well as in older WebKit builds...
--
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/20210224/8f6fb3ca/attachment.htm>
More information about the webkit-unassigned
mailing list