[Webkit-unassigned] [Bug 86540] New: MHTML files should be loadable from all schemes considered local, not just file:
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue May 15 15:55:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=86540
Summary: MHTML files should be loadable from all schemes
considered local, not just file:
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: GoogleBug, InChromiumBugs
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: gspencer at chromium.org
In MainResourceLoader::continueAfterContentPolicy and in MHTMLArchive::create, there are tests to make sure that we don't load remote html archives. Both of these tests use KURL.isLocalFile(), which only checks to see if the scheme of the URL is "file:".
This is fine as a first approximation, but since the SchemeRegistry has the extensible mechanism shouldTreatURLSchemeAsLocal(), we should use that instead, since on some platforms we would like to be able to register non-file schemes as being local.
This is related to the Chromium bug: http://crbug.com/126955
--
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