yyqdbngt opened a new pull request, #2536: URL: https://github.com/apache/rocketmq-dashboard/pull/2536
## Summary - defer object URL revocation until a later browser task - remove the temporary download anchor even when the click throws - cover successful and failed click cleanup paths with fake-timer tests ## Why Browsers may consume a Blob URL asynchronously after a programmatic anchor click. Revoking it in the same call stack can cancel or empty the download before navigation starts. ## Validation - `npm test -- --run src/utils/download.test.ts` - `npm run lint` (passes with three pre-existing Hook dependency warnings) - `npm run build` - `git diff --check` Fixes #2534 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
