Skip to content

Blank pages with stream filtering + content-type header missing #3667

@dezhavu

Description

@dezhavu

doesnt load since your experiments from some beta, all it says in webconsole:
TypeError: Argument 2 of DOMParser.parseFromString 'undefined' is not a valid value for enumeration SupportedType. traffic.js:793:19

something from there:

        // If stream encoding is still unknnown, try to extract from document.
        var charsetFound = filterer.charset,
            charsetUsed = charsetFound;
        if ( charsetFound === undefined ) {
            if ( utf8TextDecoder === undefined ) {
                utf8TextDecoder = new TextDecoder();
            }
            doc = domParser.parseFromString(
                utf8TextDecoder.decode(filterer.buffer.slice(0, 1024)),
                filterer.mime
            );
            charsetFound = charsetFromDoc(doc);
            charsetUsed = µb.textEncode.normalizeCharset(charsetFound);
            if ( charsetUsed === undefined ) {
                return streamClose(filterer);
            }
        }

got to post in uM about scope blocking, inheritance etc, but still toooo lazy to finish it up
same for uB0 btw

anyway thx for ur job, just couldnt wait for some fag to post this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions