Break LABEL throws error in Chrome 66
Reported by
thd...@gmail.com,
Apr 24 2018
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.117 Safari/537.36 Steps to reproduce the problem: 1. Run the attached test case What is the expected behavior? No errors (this was not throwing any errors until Chrome was updated to v66 today). What went wrong? Got this error: Uncaught SyntaxError: Undefined label 'OUTER' Did this work before? N/A Chrome version: 66.0.3359.117 Channel: stable OS Version: 10.0 Flash Version: When you remove the var statement then it works fine again. It appears after upgrading to v66 Chrome now expects the line immediately below the outer label to be a for/while/do whereas v65 and below was more lenient and allowed other lines between the label and the loop.
,
Apr 24 2018
,
Apr 24 2018
As per comment#1 from the reported, closing the issue and marking it as won't fix. Thanks |
|||
►
Sign in to add a comment |
|||
Comment 1 by thd...@gmail.com
, Apr 24 2018