[Webkit-unassigned] [Bug 141405] Web Inspector: Large background image fails to load in inspector

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 9 15:29:58 PST 2015


https://bugs.webkit.org/show_bug.cgi?id=141405

--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org> ---
Looks like we only support up to 1 MiB data URLs:

    get contentURL()
    {
        const maximumDataURLSize = 1024 * 1024; // 1 MiB

        // If content is not available or won't fit a data URL, fallback to using original URL.
        var content = this.content;
        if (content === null || content.length > maximumDataURLSize)
            return this._url;

        return "data:" + this.mimeTypeComponents.type + (this.contentIsBase64Encoded ? ";base64," + content : "," + encodeURIComponent(content));
    },

Can we bump that, or do we need to come up with another solution here?

In this particular case, if the page is a file:/// the inspector cannot open that image. Likewise, if inspecting a remote target, the URL may not be loadable by the inspector.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150209/ff851872/attachment-0002.html>


More information about the webkit-unassigned mailing list