1. Sep 17, 2014
  2. Sep 05, 2014
    • Peter Varga's avatar
      Fix url stored in LoadRequest · daf3a688
      Peter Varga authored
      
      The test_urlProperty() qml test has failed because the active url was
      stored in LoadRequest in case of LoadFailedStatus.
      With this fix the loadRequest stores the url of that page which implies
      the request.
      
      Change-Id: I6aab814a4a7d3b47043b03fccde3d9995b40d8fa
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      daf3a688
  3. Sep 02, 2014
    • Pierre Rossi's avatar
      Don't forward loading of error pages to the API layer · ede95c2a
      Pierre Rossi authored
      
      The fact that the error pages are HTML and get loaded through the
      same mechanism should be kept an implementation detail and not be
      considered as a new load in the API sense.
      Also implement HasErrorPage for good measure and remove an anoying
      warning from the demo browser.
      
      The issue of the url not being changed remains in the QML test (but
      it doesn't affect a typical browser-like UI since the user input is
      still there untouched in the address bar), just make sure that failure
      does not affect the later checks. It also seems like we have a focus
      problem somehow, but the test should probably use a click for that
      matter.
      
      Change-Id: Ib5e363981a11287fdf4bfe84b93c999d96ed8087
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      ede95c2a
  4. Aug 29, 2014
  5. Aug 28, 2014
  6. Aug 21, 2014
  7. Aug 20, 2014
    • Jocelyn Turcotte's avatar
      Propagate the page's screen coordinates when the top-level window moved · 7717f941
      Jocelyn Turcotte authored
      
      This fixes a regression after the 37 upgrade where the select popups
      would have the wrong position. Adjust to the new behavior and also
      avoid doing a mapToGlobal of the position received in InitAsPopup.
      
      RWHV::SetBounds has been giving us screen coordinates since the
      Chromium 33 update, but popup locations somehow managed to work
      properly through some side-effect sorcery.
      
      This also fixes the value of window.screen[XY] in JavaScript which
      wasn't updated when the window was moved.
      
      Change-Id: I544499bafedccfb7d389b4abc48f1386c398473f
      Reviewed-by: default avatarPierre Rossi <pierre.rossi@gmail.com>
      7717f941
  8. Aug 19, 2014
  9. Aug 18, 2014
  10. Aug 15, 2014
  11. Aug 12, 2014
  12. Aug 09, 2014
    • Pierre Rossi's avatar
      Ground work for Settings/Preferences · 37fcb151
      Pierre Rossi authored
      
      Core interface to expose toggling some of the WebPreferences
      for now and most probably some of the WebRuntimeFeatures soon.
      
      The whole dummy settings business is meant to keep things
      from breaking too much when bisecting, because it is assumed
      that there are always valid settings for a given adapterClient.
      
      Change-Id: Ic0a62bcb5af8c0254436dc770b43cde5016c3bbd
      Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@digia.com>
      37fcb151
  13. Aug 06, 2014
    • Andras Becsi's avatar
      Add QQuick API for intercepting navigation requests · ca30d037
      Andras Becsi authored
      
      Add missing navigationRequested API to be able to intercept
      navigation requests. This is useful for ignoring requests
      for example in kiosk-like applications that want to restrinct
      navigation to a specific url or domain, or want to disable
      specific types of navigation requests (e.g. reloading, clicking
      links, form submissions).
      
      Change-Id: Ie375e635a3c3566527972d05f5d99b39489c5ca8
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      ca30d037
  14. Aug 04, 2014
  15. Aug 01, 2014
  16. Jul 30, 2014
    • Allan Sandfeld Jensen's avatar
      Add api to get the favicon URL · a99922af
      Allan Sandfeld Jensen authored
      
      Adds one of the missing pieces of the QWebFrame and QWebView APIs.
      Unlike the QtWebKit version this only fetches the favicon URL, and not
      the icon. This is because we do not want to implement an icon database,
      and that the icon would be loaded asynchronous anyway, bringing no
      guarantee to be a valid icon/image yet.
      
      Change-Id: I227311ae3676044da850e687b82bee752b5079c8
      Reviewed-by: default avatarJocelyn Turcotte <jocelyn.turcotte@digia.com>
      a99922af
  17. Jul 11, 2014
  18. Jul 10, 2014
  19. Jul 09, 2014
    • Frederik Gladhorn's avatar
      Add core accessibility · a9853701
      Frederik Gladhorn authored
      
      This commit adds the basics to bridge the blink
      accessibility classes to QAccessibleInterfaces.
      
      Note that it needs two follow up commits to implement the bridging from
      the QWidget/Qt Quick worlds.
      
      [ChangeLog][Accessibility] QtWebEngine now has accessibility
      support, enabling assistive technology such as screen readers to work
      with it.
      
      Change-Id: Ied1d97e61a024115ac7a9245331211f6d9fac1b4
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      a9853701
  20. Jul 07, 2014
  21. May 15, 2014
  22. May 12, 2014
  23. May 08, 2014
  24. May 07, 2014
    • Jocelyn Turcotte's avatar
      Properly cleanup the old page when attaching a new one · 388a71d6
      Jocelyn Turcotte authored
      
      This patch fixes two issues:
      - The RWHV delegate of the old page would not be detached from the view
        when attaching a new page to that view. Call reattachRWHV as we do on
        the new page to make sure that the delegate gets unparented from the
        view.
      - QtWebKit documents that a page having the view as its QObject parent
        should be deleted when setPage is called with a new page. This would
        cause QupZilla to leak the page when opening a new window through a
        link.
      
      This also adds a workaround to avoid a crash when unparenting the
      delegate where QOpenGLWidget would try to call paintGL without a valid
      QSurface.
      
      Change-Id: Icd2659f441d2220c26dc175d66424e6c26125861
      Reviewed-by: default avatarAndras Becsi <andras.becsi@digia.com>
      388a71d6
  25. May 05, 2014
  26. Apr 29, 2014
    • Pierre Rossi's avatar
      WebRTC Widgets API · 6fca3ec6
      Pierre Rossi authored
      
      Simply reuse the existing feature request approach that
      was used for geolocation and notifications in QtWebKit.
      
      Change-Id: I8fec4f4e9e81b491163912fadb4ce17d343864dd
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      6fca3ec6
    • Pierre Rossi's avatar
      Add WebRTC support · 070846b2
      Pierre Rossi authored
      
      Reuse the MediaCaptureDevicesDispatcher from the chrome layer,
      pretty much as is, and wire it in with WebContentsDelegateQt and
      WebContentsAdapter/WebContentsAdapterClient for API delegation.
      
      We also need to ensure that our user agent string mentions Chrome and
      the Chrome version we're based on, in order to please websites that detect
      feature support that way.
      
      Change-Id: I0ddf8cd34e4add96bc36f59adfe8e0384e728d93
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      070846b2
    • Pierre Rossi's avatar
      Add a way of using UI dialogs for authorization · 4da1db8f
      Pierre Rossi authored
      
      We could use this to prompt the user for various feature permissions
      that we are not ready to expose in our API.
      
      Change-Id: If6e6a16aca4142b0564121dfc7677b7c4996f742
      Reviewed-by: default avatarZeno Albisser <zeno.albisser@digia.com>
      4da1db8f
  27. Apr 15, 2014