[Webkit-unassigned] [Bug 43484] New: wmode parameter value is changed for QT Flash Plugin. The old value should be saved.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 4 07:34:37 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=43484

           Summary: wmode parameter value is changed for QT Flash Plugin.
                    The old value should be saved.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Other
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Plug-ins
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: hui_huang at yahoo.com


In Webkit/qt/WebCoreSupport/FrameLoaderClientQt.cpp FrameLoaderClientQt::createPlugin:
        if (mimeType == "application/x-shockwave-flash") {
1463                QWebPageClient* client = m_webFrame->page()->d->client;
1464                if (!client || !qobject_cast<QWidget*>(client->pluginParent())) {
1465                    // inject wmode=opaque when there is no client or the client is not a QWebView
1466                    size_t wmodeIndex = params.find("wmode");
1467                    if (wmodeIndex == -1) {
1468                        params.append("wmode");
1469                        values.append("opaque");
1470                    } else
1471                        values[wmodeIndex] = "opaque";
1472                }

wmode parameter is always changed to opaque. the original value should be preserved for Flash Plugins that supports wmode=window as default.

-- 
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