[Webkit-unassigned] [Bug 119088] [Qt] Crash in SimpleFontData, related to @font-face with non-existing src url
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jul 25 07:43:17 PDT 2013
https://bugs.webkit.org/show_bug.cgi?id=119088
--- Comment #3 from Milian Wolff <milian.wolff at kdab.com> 2013-07-25 07:43:07 PST ---
In our application it is probably due to using a custom scheme handler for fonts, which does not seem to be supported anymore:
test.qml:
import QtQuick 2.0
import QtWebKit 3.0
import QtWebKit.experimental 1.0
WebView {
id: webView
height: 500
width: 500
url: "test.html"
experimental {
preferences.developerExtrasEnabled: true
urlSchemeDelegates: [
UrlSchemeDelegate {
scheme: "test"
onReceivedRequest: {
console.log("retrieve:", request.url);
reply.send()
}
}
]
}
}
test.html:
<DOCTYPE html>
<html>
<head>
<title>bug 119088 test</title>
<style type="text/css">
@font-face {
font-family: "test";
src: url("test:///doesNotExist.ttf");
}
body {
font-family: test;
}
</style>
<body> test </body>
</html>
run it via:
qmlscene test.qml
expected output:
"retrieve test:///doesNotExist.ttf"
actual output:
WARNING: The web process experienced a crash on 'file:///ssd/milian/projects/qt5/examples/qmlwebkit2/test.html'.
--
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