[Webkit-unassigned] [Bug 51159] New: [Qt] Permit qrc resources to load in QWebSettings::setUserStyleSheetUrl()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 15 18:35:38 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=51159
Summary: [Qt] Permit qrc resources to load in
QWebSettings::setUserStyleSheetUrl()
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Enhancement
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jarred.nicholls at gmail.com
Right now Page::userStyleSheetLocationChanged() only accepts base64 data urls or file urls. In Qt world, a qrc resource is considered a local resource, re: SchemeRegistry::localURLSchemes()
However, Page::userStyleSheetLocationChanged() does not check the localURLSchemes registry when loading urls for the user style sheet, and instead only accepts file:// urls. By changing this behavior, we can open the door to a qrc resource style sheet.
In Qt port, we have to handle qrc paths a little differently by making sure it's prefixed with a colon, so it's a special case in KURL::fileSystemPath(). This does change the behavior, so a new test should be created.
--
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