[Webkit-unassigned] [Bug 73671] New: [Qt] When turning off PluginsEnabled attribute then a QWebPage will still try to load plugins
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 2 09:58:08 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=73671
Summary: [Qt] When turning off PluginsEnabled attribute then a
QWebPage will still try to load plugins
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Keywords: Qt
Severity: Normal
Priority: P3
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andy.shaw at digia.com
When turning off PluginsEnabled attribute then a QWebPage will still try to load plugins. The following patch to the Browser demo reproduces this when going to youtube.com
--- a/demos/browser/webview.cpp
+++ b/demos/browser/webview.cpp
@@ -70,6 +70,7 @@ WebPage::WebPage(QObject *parent)
setNetworkAccessManager(BrowserApplication::networkAccessManager());
connect(this, SIGNAL(unsupportedContent(QNetworkReply*)),
this, SLOT(handleUnsupportedContent(QNetworkReply*)));
+ settings()->setAttribute(QWebSettings::PluginsEnabled, false);
}
BrowserMainWindow *WebPage::mainWindow()
--
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