[Webkit-unassigned] [Bug 171058] New: After upgrading glib and glib-networking, resources with zero bytes are always identified as text/plain

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 20 09:21:31 PDT 2017


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

            Bug ID: 171058
           Summary: After upgrading glib and glib-networking, resources
                    with zero bytes are always identified as text/plain
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Gtk
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: clopez at igalia.com
                CC: bugs-noreply at webkitgtk.org, cgarcia at igalia.com
            Blocks: 170942

On r215556 <https://trac.webkit.org/r215556> we upgraded glib from 2.44.1 to 2.52.1 and glib-networking from 2.41.4 to 2.50.0

This causes failures on the following tests:


Regressions: Unexpected text-only failures (13)
  fast/preloader/document-write-noscript.html [ Failure ]
  fast/preloader/document-write.html [ Failure ]
  fast/preloader/first-base-tag-scanned-wins.html [ Failure ]
  fast/preloader/first-base-tag-wins.html [ Failure ]
  fast/preloader/image-srcset.html [ Failure ]
  fast/preloader/image.html [ Failure ]
  fast/preloader/input.html [ Failure ]
  fast/preloader/link.html [ Failure ]
  fast/preloader/noscript.html [ Failure ]
  fast/preloader/script.html [ Failure ]
  fast/preloader/style.html [ Failure ]
  fast/preloader/understands-base-tag.html [ Failure ]
  tables/mozilla/core/col_widths_fix_autoFixPer.html [ Failure ]


This are the diffs for all this tests: http://sprunge.us/GZPB?diff

As you can see, the resource gives always now "MIME type text/plain" instead of the MIME type of the extension of the file.

Upon further investigation it turns out, all this files are empty!

$ ls -1s LayoutTests/fast/preloader/resources/script1.js LayoutTests/fast/preloader/resources/noscript-image2.png LayoutTests/fast/preloader/resources/base-image3.png LayoutTests/fast/preloader/resources/base-image2.png LayoutTests/fast/preloader/resources/image1.png LayoutTests/fast/preloader/resources/base-image1.png LayoutTests/fast/preloader/resources/image1.png LayoutTests/fast/preloader/resources/link1.css LayoutTests/fast/preloader/resources/noscript-image2.png LayoutTests/fast/preloader/resources/script1.js LayoutTests/fast/preloader/resources/style1.css LayoutTests/fast/preloader/resources/base-image1.png
0 LayoutTests/fast/preloader/resources/base-image1.png
0 LayoutTests/fast/preloader/resources/base-image1.png
0 LayoutTests/fast/preloader/resources/base-image2.png
0 LayoutTests/fast/preloader/resources/base-image3.png
0 LayoutTests/fast/preloader/resources/image1.png
0 LayoutTests/fast/preloader/resources/image1.png
0 LayoutTests/fast/preloader/resources/link1.css
0 LayoutTests/fast/preloader/resources/noscript-image2.png
0 LayoutTests/fast/preloader/resources/noscript-image2.png
0 LayoutTests/fast/preloader/resources/script1.js
0 LayoutTests/fast/preloader/resources/script1.js
0 LayoutTests/fast/preloader/resources/style1.css


$ file LayoutTests/fast/preloader/resources/script1.js LayoutTests/fast/preloader/resources/noscript-image2.png LayoutTests/fast/preloader/resources/base-image3.png LayoutTests/fast/preloader/resources/base-image2.png LayoutTests/fast/preloader/resources/image1.png LayoutTests/fast/preloader/resources/base-image1.png LayoutTests/fast/preloader/resources/image1.png LayoutTests/fast/preloader/resources/link1.css LayoutTests/fast/preloader/resources/noscript-image2.png LayoutTests/fast/preloader/resources/script1.js LayoutTests/fast/preloader/resources/style1.css LayoutTests/fast/preloader/resources/base-image1.png
LayoutTests/fast/preloader/resources/script1.js:          empty
LayoutTests/fast/preloader/resources/noscript-image2.png: empty
LayoutTests/fast/preloader/resources/base-image3.png:     empty
LayoutTests/fast/preloader/resources/base-image2.png:     empty
LayoutTests/fast/preloader/resources/image1.png:          empty
LayoutTests/fast/preloader/resources/base-image1.png:     empty
LayoutTests/fast/preloader/resources/image1.png:          empty
LayoutTests/fast/preloader/resources/link1.css:           empty
LayoutTests/fast/preloader/resources/noscript-image2.png: empty
LayoutTests/fast/preloader/resources/script1.js:          empty
LayoutTests/fast/preloader/resources/style1.css:          empty
LayoutTests/fast/preloader/resources/base-image1.png:     empty


And for the test tables/mozilla/core/col_widths_fix_autoFixPer.html it turns out also this test is just an empty html

$ ls -s1 LayoutTests/tables/mozilla/core/col_widths_fix_autoFixPer.html
0 LayoutTests/tables/mozilla/core/col_widths_fix_autoFixPer.html


$ file LayoutTests/tables/mozilla/core/col_widths_fix_autoFixPer.html
LayoutTests/tables/mozilla/core/col_widths_fix_autoFixPer.html: empty


That explains the diff on this test also.


Referenced Bugs:

https://bugs.webkit.org/show_bug.cgi?id=170942
[Bug 170942] [GTK][jhbuild] Update glib and glib-networking to the latest stable versions
-- 
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/20170420/df18000e/attachment.html>


More information about the webkit-unassigned mailing list