1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-15 07:22:28 +02:00

import emergency fix from 1.15.6

This commit is contained in:
Raymond Hill 2018-02-15 17:39:31 -05:00
parent 7e68061da0
commit 47152560af
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -745,7 +745,7 @@ var filterDocument = (function() {
utf8TextDecoder = new TextDecoder(); utf8TextDecoder = new TextDecoder();
} }
doc = domParser.parseFromString( doc = domParser.parseFromString(
utf8TextDecoder.decode(filterer.buffer.slice(0, 1024)), utf8TextDecoder.decode(filterer.buffer.slice(0, 4096)),
'text/html' 'text/html'
); );
filterer.charset = µb.textEncode.normalizeCharset(charsetFromDoc(doc)); filterer.charset = µb.textEncode.normalizeCharset(charsetFromDoc(doc));