imnotkind created ZEPPELIN-2850:
-----------------------------------

             Summary: changing the method of save-as.service.js from URI data 
scheme to createobjectURL + File API's blob feature
                 Key: ZEPPELIN-2850
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-2850
             Project: Zeppelin
          Issue Type: Improvement
    Affects Versions: 0.8.0
         Environment: CHROME!!

            Reporter: imnotkind
             Fix For: 0.8.0


if we use URI Data scheme, we could only contain 2MB data in chrome. using the 
createObjectURL and File API's blob feature, i managed to upgrade the capacity 
to about 900MB. plus this update is better in debugging too. if we exceed the 
2MB limit in URI data scheme, the download just failed with no accurate console 
log originally, so it was kinda hard to know why this happens. But using this 
technique, if it exceeds the 900MB limit, the console log points directly about 
what the problem is. like this : Uncaught RangeError: Failed to construct 
'Blob': Array length exceeds supported limit. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to