[Webkit-unassigned] [Bug 17844] New: Acid2 (no data): Particular nested object combination imply Webkit to download file with text/html content type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 14 04:48:41 PDT 2008


http://bugs.webkit.org/show_bug.cgi?id=17844

           Summary: Acid2 (no data): Particular nested object combination
                    imply Webkit to download file with text/html content
                    type
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: Macintosh
               URL: http://hixie.ch/tests/evil/acid/002-no-data/
        OS/Version: Mac OS X 10.5
            Status: NEW
          Keywords: HasReduction
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: webkit at blaut.biz


It's not duplicate of bug 4911. It's a 'brand' new Acid2 (no data) bug.

Summary:
On this page http://hixie.ch/tests/evil/acid/002-no-data/  there is a
combination to object elements:

<object data="data006"><object data="http://www.damowmow.com/404/"
type="text/html">[...]</object></object>

data006 is text/html file:

curl -I "http://hixie.ch/tests/evil/acid/002-no-data/006"
HTTP/1.1 404 Not Found
Date: Fri, 14 Mar 2008 11:28:00 GMT
Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e
mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Accept-Ranges: bytes
Vary: Accept-Encoding
X-Pingback: http://tracking.damowmow.com/
Content-Language: en-GB-x-Hixie
Content-Type: text/html; charset=utf-8

the second data is also text/html file:
curl -I "http://www.damowmow.com/404/"HTTP/1.1 404 Not Found
Date: Fri, 14 Mar 2008 11:43:16 GMT
Server: Apache/2.0.61 (Unix) PHP/4.4.7 mod_ssl/2.0.61 OpenSSL/0.9.7e
mod_fastcgi/2.4.2 DAV/2 SVN/1.4.2
Last-Modified: Mon, 11 Jul 2005 02:17:49 GMT
ETag: "ed2bb7-360-63d98d40"
Accept-Ranges: bytes
Content-Length: 864
Vary: Accept-Encoding
X-Pingback: http://tracking.damowmow.com/
Content-Language: en-GB-x-Hixie
Link: </resources/images/astrophy/16>; rel="icon"
Content-Type: text/html; charset=utf-8

So if you load the test case in Webkit, the engine should not download any
file. It's not true in the latest Webkit nightly. Webkit download 006 file.

Steps to reproduce:
1) Go to this page:http://hixie.ch/tests/evil/acid/002-no-data/ 
2) Notice the Webkit download '006' file.

Expected behavior:
No file should be download

Current behavior:
006 file is downloaded.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list