[Webkit-unassigned] [Bug 29381] New: [Qt] [Regression] QWebView::setHtml() executes script body twice
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 18 07:04:41 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=29381
Summary: [Qt] [Regression] QWebView::setHtml() executes script
body twice
Product: WebKit
Version: 528+ (Nightly build)
Platform: Other
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: Qt
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: vestbo at webkit.org
This bug report originated from issue QTBUG-3713
<http://bugreports.qt.nokia.com/browse/QTBUG-3713>
--- Description ---
QWebView::setHtml() executes script body twice, the following example will show
the alert message box two times. This is a regression from Qt 4.4.3.
class widget : public QWebView
{
public:
widget(QWidget* parent = 0)
: QWebView(parent)
{
setHtml("<html><body><script>\n"
"var x = new Date();\n"
"alert(x);\n"
"</script></body></html>\n");
}
};
int main(int argc, char **argv)
{
QApplication a(argc, argv);
widget w;
w.show();
return a.exec();
}
--
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