yyqdbngt opened a new issue, #2534:
URL: https://github.com/apache/rocketmq-dashboard/issues/2534

   ## Problem
   
   `downloadBlob` revokes its object URL synchronously after calling 
`anchor.click()`. Some browsers consume the object URL asynchronously, so 
immediate revocation can cancel or produce an empty download. A thrown click 
also leaves cleanup behavior implicit.
   
   Location: `web/src/utils/download.ts`.
   
   ## Expected behavior
   
   Remove the temporary anchor immediately, but defer object URL revocation to 
a later task so the browser can start consuming it. Cleanup should still be 
scheduled if the programmatic click throws.
   
   ## Verification
   
   Cover deferred revocation, attached-anchor clicking, successful removal, and 
the click-failure cleanup path.


-- 
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]

Reply via email to