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

QWebEngineCookieStore does not emit cookieAdded() for non-default profile.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.9.1
    • WebEngine
    • None

    Description

      Create a QWebEnginePage via "page = new QWebEnginePage(new QWebEngineProfile(this), this)".

      Connect cookieAdded() via "connect(page->profile()->cookieStore(), SIGNAL(cookieAdded(const QNetworkCookie &)), this, SLOT(slot_cookie_added(const QNetworkCookie &)))".

      The default profile's cookie-store cookieAdded() signal is being watched by a separate QWebEnginePage. If I visit a URL using the "page" object, cookieAdded() is emitted by the default profile's cookie-store. The "page" object's cookie-store does not emit the cookieAdded() signal.

       

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            textbrowser Alexis Megas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes