From 2489b7e25edd6f5f85b51887d2e525885eb3d4e5 Mon Sep 17 00:00:00 2001 From: Sam Thorogood Date: Tue, 28 Apr 2020 16:33:03 +1000 Subject: [PATCH] xhr fastpast --- text.js | 10 +++++----- text.min.js | 11 ++++++----- text.min.js.map | 6 +++--- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/text.js b/text.js index e93cf6d..a0819a0 100644 --- a/text.js +++ b/text.js @@ -143,13 +143,15 @@ function decodeBuffer(bytes) { * @return {string} */ function decodeSyncXHR(bytes) { - const b = new Blob([bytes]); + const b = new Blob([bytes], {type: 'text/plain;charset=UTF-8'}); const u = URL.createObjectURL(b); + // This hack will fail in non-Edgium Edge because sync XHRs are disabled (and + // possibly in other places), so ensure there's a fallback call. try { const x = new XMLHttpRequest(); x.open('GET', u, false); - x.send(null); + x.send(); return x.responseText; } catch (e) { return decodeFallback(bytes); @@ -239,9 +241,7 @@ if (typeof Buffer === 'function' && Buffer.from) { } else if (typeof Blob === 'function' && typeof URL === 'function' && typeof URL.createObjectURL === 'function') { // Blob and URL.createObjectURL are available from IE10, Safari 6, Chrome 19 // (all released in 2012), Firefox 19 (2013), ... - - // TODO(samthor): I should probably check that this hack works in IE10 before shipping it. - // decodeImpl = decodeXHR; + decodeImpl = decodeSyncXHR; } /** diff --git a/text.min.js b/text.min.js index 786dd79..f3c7636 100644 --- a/text.min.js +++ b/text.min.js @@ -1,5 +1,6 @@ -(function(l){function p(c){for(var a=0,h=Math.min(65536,c.length+1),e=new Uint16Array(h),g=[],d=0;;){var b=a=h-1){g.push(String.fromCharCode.apply(null,e.subarray(0,d)));if(!b)return g.join("");c=c.subarray(a);d=a=0}b=c[a++];if(0===(b&128))e[d++]=b;else if(192===(b&224)){var f=c[a++]&63;e[d++]=(b&31)<<6|f}else if(224===(b&240)){f=c[a++]&63;var m=c[a++]&63;e[d++]=(b&31)<<12|f<<6|m}else if(240===(b&248)){f=c[a++]&63;m=c[a++]&63;var q=c[a++]&63;b=(b&7)<<18|f<<12|m<<6|q;65535>>10&1023|55296,b=56320|b&1023);e[d++]=b}}}function n(){}function k(c,a){c=void 0===c?"utf-8":c;a=void 0===a?{fatal:!1}:a;if(-1===r.indexOf(c.toLowerCase()))throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('"+c+"') is invalid.");if(a.fatal)throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.");}function t(c){return Buffer.from(c.buffer,c.byteOffset,c.byteLength).toString("utf-8")}if(l.TextEncoder&&l.TextDecoder)return!1; -var r=["utf-8","utf8","unicode-1-1-utf-8"];Object.defineProperty(n.prototype,"encoding",{value:"utf-8"});n.prototype.encode=function(c,a){a=void 0===a?{stream:!1}:a;if(a.stream)throw Error("Failed to encode: the 'stream' option is unsupported.");a=0;for(var h=c.length,e=0,g=Math.max(32,h+(h>>>1)+7),d=new Uint8Array(g>>>3<<3);a=b){if(a=b)continue}e+4> -d.length&&(g+=8,g*=1+a/c.length*2,g=g>>>3<<3,f=new Uint8Array(g),f.set(d),d=f);if(0===(b&4294967168))d[e++]=b;else{if(0===(b&4294965248))d[e++]=b>>>6&31|192;else if(0===(b&4294901760))d[e++]=b>>>12&15|224,d[e++]=b>>>6&63|128;else if(0===(b&4292870144))d[e++]=b>>>18&7|240,d[e++]=b>>>12&63|128,d[e++]=b>>>6&63|128;else continue;d[e++]=b&63|128}}return d.slice?d.slice(0,e):d.subarray(0,e)};Object.defineProperty(k.prototype,"encoding",{value:"utf-8"});Object.defineProperty(k.prototype,"fatal",{value:!1}); -Object.defineProperty(k.prototype,"ignoreBOM",{value:!1});"function"===typeof Buffer&&Buffer.from&&(p=t);k.prototype.decode=function(c,a){a=void 0===a?{stream:!1}:a;if(a.stream)throw Error("Failed to decode: the 'stream' option is unsupported.");a=c;!(a instanceof Uint8Array)&&a.buffer instanceof ArrayBuffer&&(a=new Uint8Array(c.buffer));return p(a)};l.TextEncoder=n;l.TextDecoder=k})("undefined"!==typeof window?window:"undefined"!==typeof global?global:this); +(function(l){function m(){}function k(c,a){c=void 0===c?"utf-8":c;a=void 0===a?{fatal:!1}:a;if(-1===r.indexOf(c.toLowerCase()))throw new RangeError("Failed to construct 'TextDecoder': The encoding label provided ('"+c+"') is invalid.");if(a.fatal)throw Error("Failed to construct 'TextDecoder': the 'fatal' option is unsupported.");}function t(c){return Buffer.from(c.buffer,c.byteOffset,c.byteLength).toString("utf-8")}function u(c){var a=URL.createObjectURL(new Blob([c],{type:"text/plain;charset=UTF-8"})); +try{var f=new XMLHttpRequest;f.open("GET",a,!1);f.send();return f.responseText}catch(e){return q(c)}finally{URL.revokeObjectURL(a)}}function q(c){for(var a=0,f=Math.min(65536,c.length+1),e=new Uint16Array(f),h=[],d=0;;){var b=a=f-1){h.push(String.fromCharCode.apply(null,e.subarray(0,d)));if(!b)return h.join("");c=c.subarray(a);d=a=0}b=c[a++];if(0===(b&128))e[d++]=b;else if(192===(b&224)){var g=c[a++]&63;e[d++]=(b&31)<<6|g}else if(224===(b&240)){g=c[a++]&63;var n=c[a++]&63;e[d++]= +(b&31)<<12|g<<6|n}else if(240===(b&248)){g=c[a++]&63;n=c[a++]&63;var v=c[a++]&63;b=(b&7)<<18|g<<12|n<<6|v;65535>>10&1023|55296,b=56320|b&1023);e[d++]=b}}}if(l.TextEncoder&&l.TextDecoder)return!1;var r=["utf-8","utf8","unicode-1-1-utf-8"];Object.defineProperty(m.prototype,"encoding",{value:"utf-8"});m.prototype.encode=function(c,a){a=void 0===a?{stream:!1}:a;if(a.stream)throw Error("Failed to encode: the 'stream' option is unsupported.");a=0;for(var f=c.length,e=0,h=Math.max(32, +f+(f>>>1)+7),d=new Uint8Array(h>>>3<<3);a=b){if(a=b)continue}e+4>d.length&&(h+=8,h*=1+a/c.length*2,h=h>>>3<<3,g=new Uint8Array(h),g.set(d),d=g);if(0===(b&4294967168))d[e++]=b;else{if(0===(b&4294965248))d[e++]=b>>>6&31|192;else if(0===(b&4294901760))d[e++]=b>>>12&15|224,d[e++]=b>>>6&63|128;else if(0===(b&4292870144))d[e++]=b>>>18&7|240,d[e++]=b>>>12& +63|128,d[e++]=b>>>6&63|128;else continue;d[e++]=b&63|128}}return d.slice?d.slice(0,e):d.subarray(0,e)};Object.defineProperty(k.prototype,"encoding",{value:"utf-8"});Object.defineProperty(k.prototype,"fatal",{value:!1});Object.defineProperty(k.prototype,"ignoreBOM",{value:!1});var p=q;"function"===typeof Buffer&&Buffer.from?p=t:"function"===typeof Blob&&"function"===typeof URL&&"function"===typeof URL.createObjectURL&&(p=u);k.prototype.decode=function(c,a){a=void 0===a?{stream:!1}:a;if(a.stream)throw Error("Failed to decode: the 'stream' option is unsupported."); +a=c;!(a instanceof Uint8Array)&&a.buffer instanceof ArrayBuffer&&(a=new Uint8Array(c.buffer));return p(a)};l.TextEncoder=m;l.TextDecoder=k})("undefined"!==typeof window?window:"undefined"!==typeof global?global:this); diff --git a/text.min.js.map b/text.min.js.map index cdb39dc..cb41bf4 100644 --- a/text.min.js.map +++ b/text.min.js.map @@ -1,8 +1,8 @@ { "version":3, "file":"text.min.js", -"lineCount":5, -"mappings":"AAsBC,SAAQ,CAACA,CAAD,CAAQ,CA8IjBC,QAASA,EAAc,CAACC,CAAD,CAAQ,CAa7B,IAZA,IAAIC,EAAa,CAAjB,CAOMC,EAAcC,IAAAC,IAAA,CAAS,KAAT,CAAoBJ,CAAAK,OAApB,CAAmC,CAAnC,CAPpB,CAQMC,EAAU,IAAIC,WAAJ,CAAgBL,CAAhB,CARhB,CASMM,EAAS,EATf,CAUIC,EAAe,CAEnB,CAAA,CAAA,CAAS,CACP,IAAMC,EAAOT,CAAPS,CAAoBV,CAAAK,OAK1B,IAAI,CAACK,CAAL,EAAcD,CAAd,EAA8BP,CAA9B,CAA4C,CAA5C,CAAgD,CAI9CM,CAAAG,KAAA,CAAYC,MAAAC,aAAAC,MAAA,CAA0B,IAA1B,CAAgCR,CAAAS,SAAA,CAAiB,CAAjB,CAAoBN,CAApB,CAAhC,CAAZ,CAEA,IAAI,CAACC,CAAL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AAAA,OAAf,CADV,CAIA,OAAO0D,EAAA,CAAuC7D,CAAvC,CAfuE,CAkBhFZ,EAAA,YAAA,CAAuBC,CACvBD,EAAA,YAAA,CAAuBE,CAxPN,CAAhB,CAAA,CA0PmB,WAAlB,GAAA,MAAOyE,OAAP,CAAgCA,MAAhC,CAA4D,WAAlB,GAAA,MAAOC,OAAP,CAAgCA,MAAhC,CAAyC,IA1PpF;", "sources":["text.js"], -"names":["scope","decodeFallback","bytes","inputIndex","pendingSize","Math","min","length","pending","Uint16Array","chunks","pendingIndex","more","push","String","fromCharCode","apply","subarray","join","byte1","byte2","byte3","byte4","codepoint","FastTextEncoder","FastTextDecoder","utfLabel","options","fatal","validUtfLabels","indexOf","toLowerCase","RangeError","Error","decodeBuffer","Buffer","from","buffer","byteOffset","byteLength","toString","Object","defineProperty","prototype","value","string","stream","pos","len","at","tlen","max","target","Uint8Array","charCodeAt","extra","update","set","slice","decodeImpl","ArrayBuffer","window","global"] +"names":["scope","FastTextEncoder","FastTextDecoder","utfLabel","options","fatal","validUtfLabels","indexOf","toLowerCase","RangeError","Error","decodeBuffer","bytes","Buffer","from","buffer","byteOffset","byteLength","toString","decodeSyncXHR","u","URL","createObjectURL","b","Blob","type","x","XMLHttpRequest","open","send","responseText","e","decodeFallback","revokeObjectURL","inputIndex","pendingSize","Math","min","length","pending","Uint16Array","chunks","pendingIndex","more","push","String","fromCharCode","apply","subarray","join","byte1","byte2","byte3","byte4","codepoint","Object","defineProperty","prototype","value","string","stream","pos","len","at","tlen","max","target","Uint8Array","charCodeAt","extra","update","set","slice","decodeImpl","ArrayBuffer","window","global"] }