[Webkit-unassigned] [Bug 150101] New: Web Inspector: CSS Data URIs count against page weight twice

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 13 14:26:42 PDT 2015


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

            Bug ID: 150101
           Summary: Web Inspector: CSS Data URIs count against page weight
                    twice
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Macintosh
                OS: Mac OS X 10.11
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: webkit at 75thtrombone.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 263021
  --> https://bugs.webkit.org/attachment.cgi?id=263021&action=review
Example HTML file that shows the problem

OVERVIEW:

This is a repeat of bug 75555, which was closed (automatically?) when the new Web Inspector appeared.

Any CSS data URI is counted twice against page weight: once for the CSS code, and once for the separate resource entry for the image or font represented by the data URI.

STEPS TO REPRODUCE:

Open Web Inspector, load a single HTML page that uses a data URI in a <style> element, and look at the Page Weight indicator.

EXPECTED RESULTS:

The Page Weight total shows the exact HTML file size.

ACTUAL RESULTS:

The Page Weight total shows the sum of the HTML file size, PLUS the size of the image or font represented by the data URI, since it gets a separate Resource entry

ADDITIONAL INFO:

You can see this in action at http://75thtrombone.com/links/webkit/page-weight-test.html . That page is also attached.

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


More information about the webkit-unassigned mailing list