Skip to content

Commit

Permalink
Merge pull request #26 from addaleax/chromium-webworker-stacksizelimit
Browse files Browse the repository at this point in the history
Decrease String.fromCharCode.apply parameter length to 16K
  • Loading branch information
nmrugg committed Oct 2, 2015
2 parents 3c96ef7 + 72c1ee5 commit f6530f1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/lzma-d-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lzma-d.js
Expand Up @@ -742,7 +742,7 @@ var LZMA = (function () {
/// It appears that this is binary data, so it cannot be converted to a string, so just send it back.
return utf;
}
if (j == 65535) {
if (j == 16383) {
buf.push(String.fromCharCode.apply(String, charCodes));
j = -1;
}
Expand Down

0 comments on commit f6530f1

Please sign in to comment.