Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-30141

In the javascript console in a qwebview, navigator.plugins has false plugins information.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 4.8.6, 5.1.1
    • 4.8.4, 5.0.0, 5.1.0
    • WebKit
    • None
    • 669ed590743b6c456f8b7cedab6d95a0ad845675 (Qt 5.1) 4a3a08b2f08a1c2b13a4e87e4db165565f3450bf (Qt 4.8)

    Description

      check out navigator.plugins https://developer.mozilla.org/en-US/docs/DOM/window.navigator.plugins

      It has combination wrong plugins information and right plugins information.

      when you check window.navigator.plugins.length, you can easily find out the result is wrong.

      Because of the bug in the source "qt-everywhere-opensource-src-4.8.4/src/3rdparty/webkit/Source/WebKit/qt/WebCoreSupport/WebPlatformStrategies.cpp"

      It is caused by a misunderstanding of Vector::resize.

      When I checked the source of 5.0.X, still not fixed.

      I simply add my patch.

      thanks.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mibrunin Michael Bruning
            neochoon Cho, Choon Sik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes