[Webkit-unassigned] [Bug 217299] await expression breaks some surrounding expressions

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 1 06:41:56 PST 2021


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

--- Comment #5 from thatcomputerguy0101 at gmail.com ---
Beyond the poor error message, the only problem here is that the Javascript debug console is partially async compatible, with expressions like the standard `var result = await asyncFunction()` working just fine and more complicated expressions like the ones listed in my original post do not. This does not affect their compatibility in a regular async environment, only in the debug console. Additionally, the following is another syntax form affected by this bug:

var result = await (asyncFunction()) // results in ReferenceError: Can't find variable: await

-- 
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/20210201/a0883f1d/attachment.htm>


More information about the webkit-unassigned mailing list