[Webkit-unassigned] [Bug 244981] Can't find variable but only when Inspector is closed

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 10 09:51:37 PDT 2022


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

--- Comment #4 from Mark Lam <mark.lam at apple.com> ---
(In reply to Eryk Napierała from comment #3)
> Just out of curiosity, what was that about? Some parser edge-case, that's
> why after removing parentheses it was not breaking anymore? And why did it
> behave differently depending on whether the Inspector was open?

Unfortunately, we don't know which change resolved this issue.  So, we won't be able to explain what happened.  As for the difference in behavior with the Inspector open, running with the Inspector (as it works today) open results in slightly different bytecode being generated to support debugging, and also more aggressively capturing of closures.  Perhaps the more aggressive capturing of closures may have perturbed the scoping of variables and hidden the bug?  Still, this is only speculation.  We won't know what the real issue is unless we spend time to investigate the issue.  At this point, that might not be worthwhile given that the issue appears to be resolved, and there are other bugs / features of higher priority.

If you do encounter this issue again, please do file a new bug, and we'll investigate.  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/20220910/e2627001/attachment.htm>


More information about the webkit-unassigned mailing list