expression in a try block is executed after catch
Categories
(Core :: JavaScript Engine, defect, P3)
Tracking
()
People
(Reporter: kes-kes, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/111.0
Steps to reproduce:
I wrote try/catch block. Open attached test.html page. Some error will occure. Ignore it. Then close firefox and open it again and instantly press F12. After 5sec you will be stopped on debugger break point. Press F8 few times and open console.
Actual results:
and noticed that try
block continues to execute when exception occurred and captured by catch
.
Expected results:
If exception occur, then nothing should be executed inside try block.
Reporter | ||
Comment 1•2 years ago
|
||
Reporter | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
Can you reproduce this in a way that doesn't rely on the devtools printing? I'm suspecting that this is actually just some confusion about how promise resolution happens and how that's displayed in the devtools.
Updated•2 years ago
|
Comment 4•11 months ago
|
||
A needinfo is requested from the reporter, however, the reporter is inactive on Bugzilla. Given that the bug is still UNCONFIRMED
, closing the bug as incomplete.
For more information, please visit BugBot documentation.
Description
•