RESOLVED FIXED 221238
Completion value of a finally block should not be ignored if completion is abrupt
https://bugs.webkit.org/show_bug.cgi?id=221238
Summary Completion value of a finally block should not be ignored if completion is ab...
Ross Kirsling
Reported 2021-02-01 18:12:02 PST
Completion value of a finally block should not be ignored if completion is nabrupt
Attachments
Patch (6.45 KB, patch)
2021-02-01 18:23 PST, Ross Kirsling
no flags
Patch (11.04 KB, patch)
2021-02-01 19:12 PST, Ross Kirsling
no flags
Patch (11.09 KB, patch)
2021-02-01 19:20 PST, Ross Kirsling
no flags
Patch for landing (10.83 KB, patch)
2021-02-02 12:22 PST, Ross Kirsling
no flags
Ross Kirsling
Comment 1 2021-02-01 18:23:31 PST
Ross Kirsling
Comment 2 2021-02-01 19:12:17 PST
Ross Kirsling
Comment 3 2021-02-01 19:20:46 PST
Yusuke Suzuki
Comment 4 2021-02-02 12:16:32 PST
Comment on attachment 418953 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=418953&action=review r=me > Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp:4560 > + int finallyStartOffset = m_catchBlock ? m_catchBlock->endOffset() + 1 : m_tryBlock->endOffset() + 1; Let's put this before this if-else.
Ross Kirsling
Comment 5 2021-02-02 12:22:19 PST
Created attachment 419047 [details] Patch for landing
EWS
Comment 6 2021-02-02 15:24:53 PST
Committed r272243: <https://trac.webkit.org/changeset/272243> All reviewed patches have been landed. Closing bug and clearing flags on attachment 419047 [details].
Radar WebKit Bug Importer
Comment 7 2021-02-02 15:25:14 PST
Note You need to log in before you can comment on or make changes to this bug.