-
-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on🙋 no/questionThis does not need any changesThis does not need any changes
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
[email protected] and its dep [email protected]
Link to runnable example
https://bolt.new/~/sb1-7ektru or https://stackblitz.com/edit/sb1-7ektru
Steps to reproduce
- Open the link provided and wait until Preview appears
- Click Clear button
- Right click on the frame page, and select Inpsect (so you could stop execution)
- Type the following
\[
\
\]
Environment details provided directly in the repro. Please use built-in terminal to verify versions.
❯ npm -v
10.2.3
❯ node -v
v18.20.3
Expected behavior
While the extension could have mistakes in token placement, I think it's still expected that parser won't hang during such error. EIther such jumps should be omitted or bail.
Actual behavior
Page hangs in an infinite while loop (line 2698 on the screenshot).
Runtime
Other (please specify in steps to reproduce)
Package manager
Other (please specify in steps to reproduce)
OS
Other (please specify in steps to reproduce)
Build and bundle tools
Vite
Metadata
Metadata
Assignees
Labels
👎 phase/noPost cannot or will not be acted onPost cannot or will not be acted on🙋 no/questionThis does not need any changesThis does not need any changes