brace icon indicating copy to clipboard operation
brace copied to clipboard

Ace worker creates multiple blob urls

Open mrshawn191 opened this issue 8 years ago • 4 comments

skarmavbild 2017-12-12 kl 11 33 23

Hi i am having an issue where im making an ajax call to my api, and it returns a list of something, but in my chrome debugger in network i can see that corresponding blob urls are created.

I'm not sure i understand the issue, also seems to only have this problem with chrome and not firefox. Any help on diagnosing the issue?

mrshawn191 avatar Dec 12 '17 10:12 mrshawn191

Which version of brace does this happen with? We had a recent related change, hoping it didn't introduce a bug?

@nightwing do you know if this could be related?

thlorenz avatar Dec 15 '17 00:12 thlorenz

@thlorenz Aha hmm im using "brace": "^0.7.0" also with knockout js framework.

mrshawn191 avatar Dec 15 '17 09:12 mrshawn191

Tried upgrading to brace 0.11.0 still same problem.. all ajax calls seems to produce a bloburl on chrome only.

mrshawn191 avatar Dec 15 '17 11:12 mrshawn191

@thlorenz the worker client creates new blob every time mode is set to the editor, and it was behaving the same way before 7e33fe7ac2034c069d05b6ad52c52680c3c0bc79.

@mrshawn191 do you create new session, or call setMode after making the ajax call?

nightwing avatar Dec 15 '17 18:12 nightwing