[Webkit-unassigned] [Bug 78648] New: FileReader is dysfunctional in documents with "null" origin string

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Feb 14 16:14:17 PST 2012


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

           Summary: FileReader is dysfunctional in documents with "null"
                    origin string
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: sam at webkit.org, fishd at chromium.org, abarth at webkit.org,
                    jianli at chromium.org, sadrul at chromium.org


FileReader doesn't work in documents with unique security origin, or in file documents when file path separation is enforced. The reason is that:
1. Origin string for such is null.
2. FileReaderLoader::start tries to create a blob URL.
3. BlobURL::createBlobURL bails out when it sees a "null" origin string.

As an example of configuration where this is broken, try opening any FileReader regression test from fast/files in Google Chrome.

Why does FileReader need a blob URL to read a file, in the first place?

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



More information about the webkit-unassigned mailing list