summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSObject.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-02-28 12:30:36 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-02-28 12:48:59 +0100
commitae197e4992d9f8c63bf5d0c0f72f712dbe09b1ae (patch)
treefafd8f6c27b77535ebd4cdc3409f9cb834a5e35b /Source/JavaScriptCore/runtime/JSObject.cpp
parent6cec10879f382bbd007a5a3819d37e49de2c3c7a (diff)
downloadqtwebkit-ae197e4992d9f8c63bf5d0c0f72f712dbe09b1ae.tar.gz
Treat qrc protocol the same as file protocol in loading
KUrl's with qrc protocol was not recognized as local files which triggered mimetype sniffing that doesn't support SVG and break it. This patch makes qrc urls be treated as local files and modifies the one place were KURL::isLocalFile depended on the protocol being exactly "file" and not "qrc". Task-number: QTBUG-37058 Change-Id: Iad35ebc1fd72049484d2efa1f9caee96060fb236 Reviewed-by: Michael Bruning <michael.bruning@digia.com>
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSObject.cpp')
0 files changed, 0 insertions, 0 deletions