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

Restoring history clears web channel

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P3: Somewhat important P3: Somewhat important
    • 5.6.0 RC
    • 5.6.0 Beta
    • WebEngine
    • None
    • ef1f608f76f02f11b4bdcc8d52fa41cdf4cdf5c3

      When restoring history, QWebEnginePage::webChannel is cleared.

      QWebChannel *channel = ... ;
      QWebEngineView *view = new QWebEngineView;
      view->page()->setWebChannel(channel);
      // view->page()->webChannel() == channel
      
      history >> *view->history(); // set history
      
      // web channel is cleared
      // view->page()->webChannel() == 0
      

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

            allan.jensen Allan Sandfeld Jensen
            nowrep David Rosca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes