WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
41393
[Qt] when QWebView load a page without html suffix, It will crash
https://bugs.webkit.org/show_bug.cgi?id=41393
Summary
[Qt] when QWebView load a page without html suffix, It will crash
tangke
Reported
2010-06-30 00:12:09 PDT
When I use the QWebView to load a page named "Index" without html suffix, It will crash. so I rename the Index to Index.html, then load It,It's OK. I think maybe It's a bug of QtWebkit. code: #include <QtGui/QApplication> #include <QtWebKit/QWebView> int main(int argc, char *argv[]) { QApplication app(argc, argv); QWebView webView; QWebSettings::globalSettings()->setAttribute(QWebSettings::PluginsEnabled, false); QWebSettings::globalSettings()->setAttribute(QWebSettings::DeveloperExtrasEnabled, false); webView.setUrl(QUrl("/home/tangke/test")); //crash // webView.setUrl(QUrl("/home/tangke/test.html")); //ok webView.show(); return app.exec(); }
Attachments
Add attachment
proposed patch, testcase, etc.
Andreas Kling
Comment 1
2010-07-10 08:22:56 PDT
I cannot reproduce this on current 4.7 + WebKit trunk. Can you get a gdb or valgrind backtrace for the crash?
Diego Gonzalez
Comment 2
2010-07-21 07:51:22 PDT
I cannot reproduce it. If the problem still persist for you please provide a better detailed testecase or a crash backtrace.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug