- Feb 13, 2018
-
-
Jüri Valdmann authored
Change-Id: Ic3f1e11f42f26e7800524dd88f707200ef3b7705 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Jüri Valdmann authored
Extend initialization of URLRequestContextGetterQt to create a content::ProtocolHandlerRegistry for each content::BrowserContext and add the registry's URL request interceptor to the front of the interceptor chain. Implement methods in WebContentsDelegateQt to add/remove protocol handlers to/from the ProtocolHandlerRegistry. Add permission request signal and classes for core, quick and widgets. Add widgets autotest. Add signal handlers to quicknanobrowser and simplebrowser. Task-number: QTBUG-62783 Change-Id: I808e7eb9a1cb4d7216686deed4895de14fe46310 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Feb 03, 2018
-
-
Jüri Valdmann authored
Better matches our public API and other classes. Task-number: QTBUG-62783 Change-Id: I75f54802325b0ed029528d3ca5af0f0cd7ee01df Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Feb 02, 2018
-
-
Kai Koehne authored
Expose an attribute to enable the execCommand("paste") functionality, which is by default disabled due to security concerns. [ChangeLog][General] Added JavaScriptCanPaste attribute that enables JavaScript 'execCommand("paste")'. Task-number: QTBUG-64056 Change-Id: I1a414021e020473dd15946fff91fb103d871e961 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Valentin Fokin authored
- EditFlags shows the available edit actions - MediaFlags shows the status and available actions of the current media element - Update the documentations - Register ContextMenuRequest 1.1 - Update plugins.qmltypes [ChangeLog][QtWebEngine][QtWebEngineWidgets] Add EditFlags and MediaFlags to the APIs Change-Id: Ia7603696a291df5465c5e612adc2456f5f6cb479 Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
Valentin Fokin authored
- Implement EditFlags in ContextMenuData - Unify Quick and Widget default context menus - Add workaround for QTBUG-65044 - Update the SimpleBrowser example and its documentation [ChangeLog][QtWebEngine][QtWebEngineWidgets] Unify Quick and Widget default context menus Task-number: QTBUG-62414 Change-Id: I16a380f9f17e160497dfb8ac9c172341eb28c6c8 Reviewed-by:
Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jan 31, 2018
-
-
Michal Klocek authored
Currently we can get QuickWebEngineViewPrivate::loadFinished while still being in RenderFrameHostImpl::OnDidStopLoading, unfortunately if user connects onLoadingChanged signal with new url load request this will end up in DiscardUnusedFrame and delete on RenderFrameHostImpl which is still on the bottom of the stack. Use QTimer::singleShot to return to the event loop before emitting load handling signals. Post all load handling calls with singleShot to avoid out of order load "signals" delivery in some cases. Emitting signals should be done from WebContentsAdapterClient to make sure the destruction of WebConentAdapterClient prevents emitting signals on already deleted adapter. Task-numbmer: QTBUG-65813 Change-Id: I93263876fb14bd959ba951463c8aeb5155f04a4f Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jan 25, 2018
-
-
Allan Sandfeld Jensen authored
Change-Id: I551c7091bbc0463bed94180313eb2bfe92f0ad84 Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu>
-
- Jan 15, 2018
-
-
Allan Sandfeld Jensen authored
Moves QWebEngineBrowserContext to core and makes use of it from both widget and qml. Change-Id: I34748f302b0515b11b5831690d28478dfa6a852b Reviewed-by:
Michal Klocek <michal.klocek@qt.io> Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
- Jan 02, 2018
-
-
Jüri Valdmann authored
This patch removes the download type property from QtWebEngineCore and replaces it with a simple boolean 'isSavePageDownload'. On the public API boundary the type property is reimplemented via this boolean and documented as obsolete. Rationale being that 1. This feature seems to lack practical use cases, other than perhaps distinguishing save-page downloads from normal file downloads, which can be done in a much simpler way. 2. This feature does not work as documented and never has. So far nobody has complained, hinting again at a lack of practical use cases. 3. In order to fix it we would need to maintain patches on top of Chromium and Blink (we would, for example, need to propagate the DownloadAttribute type from Blink to Chromium to WebEngine). [ChangeLog][Deprecation Notice] (QWebEngine)DownloadItem::type() is deprecated and replaced with the newly introduced isSavePageDownload() property. Task-number: QTBUG-62640 Change-Id: Icf4e1e5a635028986df7eab979f4c0527902ff0c Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Dec 21, 2017
-
-
Valentin Fokin authored
- Get rid of the unused return value - Instantiate event only when used Change-Id: I01b93d133a53185c2c87f61ea688be3742511c38 Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Dec 06, 2017
-
-
Allan Sandfeld Jensen authored
Makes it possible to use devtools without using the remote-debugger Task-number: QTBUG-47899 Task-number: QTBUG-50725 Task-number: QTBUG-50766 Change-Id: Id32e13f773372d9917599ebbb64ab4af61bbf1d8 Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
- Nov 29, 2017
-
-
Allan Sandfeld Jensen authored
Task-number: QTBUG-57505 Change-Id: I8d8f906311ce94b2d9df67cb4479b70c8961c3a6 Reviewed-by:
Viktor Engelmann <viktor.engelmann@qt.io>
-
- Nov 07, 2017
-
-
Peter Varga authored
Avoid unnecessary unselect calls to prevent to lose active focus on an input field during background load. Task-number: QTBUG-64082 Change-Id: I13e8e2a96254360a78329d6ea2b6858da86a2b5a Reviewed-by:
Viktor Engelmann <viktor.engelmann@qt.io>
-
- Nov 03, 2017
-
-
Peter Varga authored
Moreover, extend the list of supported editor shortcuts and stabilize the corresponding auto test. Task-number: QTBUG-54692 Task-number: QTBUG-54812 Task-number: QTBUG-54221 Task-number: QTBUG-59053 Change-Id: I4dd8230519639ea6e3340992dbb54a609ecfcd91 Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
- Nov 02, 2017
-
-
Allan Sandfeld Jensen authored
Pass through the PlaybackRequiresUserGesture Chromium setting which Chrome enables by default on Android. Task-number: QTBUG-60799 Change-Id: I105fc7d558f9b67417a0047ecb1efe7677817ea4 Reviewed-by:
Florian Bruhin <qt-project.org@the-compiler.org> Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
- Oct 25, 2017
-
-
Allan Sandfeld Jensen authored
Change-Id: I5cb198445f283c6cea8187a1a2883896df0ee918 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Oct 20, 2017
-
-
Allan Sandfeld Jensen authored
Set the parts of the URL after the path separately to avoid QUrl escaping the separators. Change-Id: I6d2be3e8737bdf6aad01107d68297711d75326d0 Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu>
-
- Oct 05, 2017
-
-
Szabolcs David authored
Chromium includes the size of the frame in the requested geometry, but QWindow::setGeometry() and the related properties of QML Window expect a size without frame. This patch - fixes the geometry handling in Demobrowser example. - implements a new signal in the QML API which sends both frameless and extended geometries to the application, because QML doesn't have capability to determine the size of the frame and handle extended geometry correctly. Task-number: QTBUG-51181 Change-Id: I8595593aecca33d7cd46986c7abbad0cc7c18ec2 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Sep 26, 2017
-
-
Viktor Engelmann authored
As 49c0ce84 missed feature freeze for Qt 5.10, the version numbers must be corrected to Qt 5.11, REVISION 6 etc. Also the auto test was moved into its own source file, so we can blacklist it on Boot2Qt. Task-number: QTBUG-58627 Change-Id: I2381e2433ba1b903a62f59a6db58e5f25af77336 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Sep 21, 2017
-
-
Kevin Funk authored
Change-Id: I5fb337a83bfc98c23b2f3cd51839feb40fad010e Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Sep 20, 2017
-
-
Viktor Engelmann authored
Positive options are more intuitive and make for a better API. Task-number: QTBUG-63179 Change-Id: I632ee768dba52554e7d37d9da84661a1d01f1f37 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io>
-
- Sep 18, 2017
-
-
Viktor Engelmann authored
A new enum UnknownUrlSchemePolicy was added to WebEngineSettings, QWebEngineSettings and QQuickWebEngineSettings. WebContentsDelegate now has a new attribute of that type, which can be read and written through the public APIs Q(Quick)WebEngineSettings::unknownUrlSchemeNavigationPolicy and Q(Quick)WebEngineSettings::setUnknownUrlSchemeNavigationPolicy. This way, one can control, whether URLs with unknown schemes are passed to QDesktopServices. WebContentsAdapterClient::navigationRequested is called on these requests, so this allows more fine-grained control over the schemes and origins, that are allowed. Task-number: QTBUG-58627 Change-Id: Ie81d9503456d63ea1ed5606483254acf437cd8f7 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Sep 14, 2017
-
-
Kai Koehne authored
Chromium uses GetVersionEx() to determine the Windows version that is reported in the default user agent. GetVersionEx() however always reports "Windows NT 6.2" for newer Windows versions, unless the executable's manifest file marks the newer version as supported. Since this is a common question we document this in the httpUserAgent accessors. Task-number: QTBUG-56472 Change-Id: I4698cd659f5552b92ef925c198f39326fcb936f3 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io>
-
- Sep 13, 2017
-
-
Szabolcs David authored
Expose navigator.webkitPersistentStorage.requestQuota() calls to the API layer as a permission API. It allows the users to accept these requests and specify a quota for persistent storage. https://developer.chrome.com/apps/offline_storage#managing_quota [ChangeLog] navigator.webkitPersistentStorage.requestQuota() calls were rejected by default and now they will emit signal quotaPermissionRequested in both WebEngineView and QWebEnginePage. Task-number: QTBUG-56354 Change-Id: Id192577ffb403694d3051414744ded89bbfd2aa8 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Sep 12, 2017
-
-
Jüri Valdmann authored
Note that the Referer header still won't be sent if the download is triggered via an anchor element with the 'download' attribute: crbug.com/455987 . Task-number: QTBUG-61354 Change-Id: I5af971af916b2190756e3e58f19736072a213922 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Sep 08, 2017
-
-
Oleg Yadrov authored
Before this setting was added in Qt 5.8, the behavior was that QWebEngineView/WebEngineView got the focus automatically. With the new setting added it is configurable, but it was left enabled for compatibility reasons. It would had to be changed at some point anyway: none of other QML items or widgets grab the focus after creation, so why would QWebEngineView/WebEngineView do? This patch also fixes a bug with the text cursor in WebView (the cursor was blinking as if WebView had the focus when it did not). [ChangeLog][Important Changes][QtWebEngine][General] focusOnNavigationEnabled setting which allows controlling whether a web view will receive focus on a navigation request is now disabled by default. Task-number: QTBUG-60152 Task-number: QTBUG-60149 Change-Id: I78dc9bb9ffc70bf06217952acd456b97651c5185 Reviewed-by:
Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Aug 31, 2017
-
-
Peter Varga authored
Qt WebEngine implements a custom handler for multiple mouse clicks. These tests are intended to test whether the mouse click events are properly forwarded to the Chromium's RenderWidgetHost. Custom mouse click test functions have been also added for the custom mouse click handler. Change-Id: Ifdc7d09f5e0f0f76c37e137e5743482bf3fb8abb Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Aug 30, 2017
-
-
Viktor Engelmann authored
Since https is an internal scheme, it should be in this list of internal schems. This also prevents custom custom QWebEngineUrlSchemeHandlers to register "https". Although it is debatable whether this is necessary, https should be held to at least the same security standards as http, which is also in that list. Task-number: QTBUG-56894 Change-Id: I83d0130541fe3b5831bf29d429bad89a8fc5408c Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Aug 04, 2017
-
-
Florian Bruhin authored
This also adds documentation for QTWEBENGINE_DICTIONARY_PATH from my previous change. Change-Id: I85cd7476c095d5427e2db3a909449838a2362b81 Reviewed-by:
Kai Koehne <kai.koehne@qt.io> Reviewed-by:
Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Aug 02, 2017
-
-
Peter Varga authored
[ChangeLog][Settings] Added setting to hide scrollbars. Change-Id: I17695bb54a460621358345d303302b93eb342696 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jul 19, 2017
-
-
Peter Varga authored
Use QCoreApplication::sendEvent() instead of QQuickWindow::sendEvent() as documentation suggests. Change-Id: I3222d5ec41aeca80efbe06f705ee73e19ea37489 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jul 17, 2017
-
-
Jüri Valdmann authored
- Use feature permissions system instead of hard-coded dialog. - Add QML test for getUserMedia() and extend existing widgets test. Task-number: QTBUG-60832 Change-Id: I533bed5021b3b0ee199b8abc6ddbd516cbd14ff6 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jul 06, 2017
-
-
Viktor Engelmann authored
When one searches for text on one page and then navigates away, results for the search-term are also highlighted on the new page. To stop this from happening, we now call adapter->stopFinding() when we navigate away from a page. Task-number: QTBUG-61506 Change-Id: I09e064d7788b12eae0a67c01e4f5872d94924617 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jun 26, 2017
-
-
Florian Bruhin authored
Chromium has local storage enabled in icognito windows, and simply doesn't persist it to disk. QtWebEngine seems to do the same when local storage is enabled in an off-the-record profile, so there's no reason to disable it by default. This also matches the behavior in Chromium (and Firefox, but not Safari). [ChangeLog] HTML 5 local storage is now enabled by default (but residing in memory) in off-the-record profiles. Change-Id: I0cb7e946575a53471ffed9d3324b3ae4c2e80eee Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jun 23, 2017
-
-
Allan Sandfeld Jensen authored
Adds the ability to pause downloads, and resume paused or interrupted downloads. Task-number: QTBUG-56840 Change-Id: I018bd30c3a772a36d48e4154d94f69cb8d8319e4 Reviewed-by:
Joerg Bornemann <joerg.bornemann@qt.io>
-
Allan Sandfeld Jensen authored
With the no-accessibility feature moved to qtgui-config, we don't always include it where web_content_apapter_client.h is included, which gives it an inconsistent binary layout. Solve it by making the optional method always defined as it doesn't rely on anything from accessibility. Task-number: QTBUG-61200 Change-Id: I65f34ab2b6763f3166b945e700994bd8d019a835 Reviewed-by:
Alexandru Croitor <alexandru.croitor@qt.io>
-
- Jun 22, 2017
-
-
Peter Varga authored
This patch also fixes the update of the ItemAcceptsInputMethod flag of QQuickWebEngineView regarding to the focused element in the view. Change-Id: Ic6e39401bdc7ca5fab9cc03e878aa731f23fc147 Reviewed-by:
Allan Sandfeld Jensen <allan.jensen@qt.io>
-
- Jun 19, 2017
-
-
Allan Sandfeld Jensen authored
We were returning the PDF byte-data as a javascript unicode string using the deprecated ascii cast constructor. This patch changes the behavior to match that of runJavaScript callbacks and uses a script value over QVariant. [ChangeLog][QtWebEngine] The callback version of WebEngineView::printToPdf is now called with a proper bytearray result instead of PDF byte data in a javascript string. Change-Id: I71565623465c54052568bb5ff34665baaa93e187 Reviewed-by:
Michal Klocek <michal.klocek@qt.io>
-
- Jun 14, 2017
-
-
Allan Sandfeld Jensen authored
Change-Id: Ieef29fa09c8b4733737840ce6260ac6e87e7dca0 Reviewed-by:
Peter Varga <pvarga@inf.u-szeged.hu>
-