Skip to content

The version 3.0.0 is not async in chrome #280

Closed
@CVex2150J

Description

@CVex2150J

I was using jszip 2.6.0 for at least 1 years and it work great with a minus problem("stopping" javascript execution for a while) but it was "ok". Now with the chrome upgrade 50.0.2661.75 m I get "aw snap" page most of the time (I zip a large string therefore stalling the javascript for more than 20 sec of work).
I'm really happy to see v3.0.0 with all thoses async methods. But during my tests for the last 2 days to solve my "aw snap" problem I found that on chrome 50 and using the latest build and async functions... my javascript block at generateAsync()

I did a test on NodeJS and it seems to work ok (not 100% sure)

There is a screenShot of chrome devTool. I tried to generate a zip with 22 files in it (~21MB of data). The flush function block all javascript execution for 4.73s.

I will use multiple zips generation as a work around for the moment.

jszipnotasync

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions