| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes SharedArrayBuffer available for earth.google.com
For enabling certain experimental feature for a web page, the
page provides a token in a meta tag for the browser. The token
is requested by the web developer and generated by Google. The
verification of the token happens without any server calls or
network access. See,
* http://googlechrome.github.io/OriginTrials/developer-guide.html#23-how-are-tokens-verified
* blink::TrialToken::Parse() and blink::TrialTokenValidator
implementation (//third_party/blink/common/origin_trials)
Pick-to: 6.5
Change-Id: I6f102af8efcd12b6b267dceb9de59d685fd22f9e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-83459
Change-Id: I39915206859f031dd78798eeb7b2b49f4f148452
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 7e5ee9d6..10e54a07:
* FIXUP: Fixes for building with MSVC
* Fixup for [Backport] CVE-2023-0705: Integer overflow in Core (2/2)
* Fix android on mac support
* Add android config support
* Merge branch 'upstream-master' into HEAD
* Add android required resources for chromium repo
* [Backport] CVE-2023-0696: Type Confusion in V8
* [Backport] Security bug 829317 (2/2)
* [Backport] Security bug 829317 (1/2)
* [Backport] CVE-2023-0705: Integer overflow in Core (2/2)
* [Backport] CVE-2023-0705: Integer overflow in Core (1/2)
* [Backport] Security bug 1400809
* [Backport] Security bug 1325096
* [Backport] CVE-2023-0701: Heap buffer overflow in WebUI.
* [Backport] CVE-2023-0702: Type Confusion in Data Transfer
* [Backport] CVE-2023-0699: Use after free in GPU (2/2)
* [Backport] CVE-2023-0699: Use after free in GPU (1/2)
* [Backport] CVE-2023-0703: Type Confusion in DevTools
* [Backport] CVE-2023-0698: Out of bounds read in WebRTC (2/2)
* [Backport] CVE-2023-0698: Out of bounds read in WebRTC (1/2)
* Merge branch 'upstream-master' into 108-based
* BASELINE: Update Chromium to 108.0.5359.220
Pick-to: 6.5
Task-number: QTBUG-111363
Task-number: QTBUG-83459
Change-Id: Id67893339f68e382e10ae10bbfddeffc8b60ae88
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Use chrome's UIBindings and message dispatcher.
Pick-to: 6.5
Change-Id: I580b551153de8a0d34b70199c17a50df67237e73
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QAccessibleEvent::uniqueId() expects child index to be set if the event
object is set. If the index is not explicitly set the event interprets the
unique ID as a child index what is invalid.
This change fixes warnings like:
qt.accessibility.core: Invalid child in QAccessibleEvent:
QObject(0x1cc9ec25d60, name = "search") child: -2147483017
In case of an invalid child, uniqueId() returns 0 and this causes assert
on macOS.
Task-number: QTBUG-105988
Pick-to: 6.4 6.5
Change-Id: If068ab648226284bb3bd6502fc0381f4229d19e2
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Add foregin type so it can be use within qml.
Pick-to: 6.5 6.4
Change-Id: I8104874f2e898b170c8091a8fdeca450e59ae2a6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Change-Id: I421948a1be346940c7d87873f56e2944e61ebbd8
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is enabled by default in Chromium for debug build.
See //ipc/features.gni.
Disable it for debug build too because it adds and extra
SetIPCLoggingEnabled mojo message (see
//content/common/child_process.mojom) and it results different mojo
message ids for the debug and release binaries. This is undesirable
when setting QTWEBENGINEPROCESS_PATH environment variable to use release
QtWebEngineProcess with debug browser process or the other way around.
The messages and the corresponding ids can be listed by executing the
following command in the QtWebEngine build directory:
find . -name "*-message-ids.h" | xargs grep -h "constexpr uint32_t"
Pick-to: 5.15 6.4 6.5
Task-number: QTBUG-110504
Change-Id: I80f24117ae20d02fb53ea482d04bea7a9dcb38c1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
...and begin rendering thumbnails in the widget-based example by adding
a QListView in IconMode.
Change-Id: Ia0f446e48ce868e27cd7d64a3712a7db1b1e618b
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This change unifies version macros and fixes
invalid 'ContentBrowserClientQt::getUserAgent' after
1f4fdb06b13f0a9400f16313aad9296f019d2fc9
Pick-to: 6.5
Change-Id: I9df963a45f6d66c6b30c23d603afb335b6f25cce
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is a QSpinBox subclass that shows PDF page "labels" rather than a
1-based or 0-based page index. If a book starts with Roman numerals in
the preface, and then page 1 is the first page of Chapter 1, the spinbox
should be in sync with the page numbers as printed on the pages, and
with the labels that will eventually be shown under the thumbnails
on the Pages sidebar tab.
On the other hand, the user probably needs to see the 1-based page index
somewhere, at least to be able to make sense of the print dialog,
because there the range of pages to print will be 1-based. So we put
the page index into the title bar: title, page label, index, count.
Task-number: QTBUG-102271
Change-Id: Ic461094ba4caae3067409f7f436bd4e7504a4bdb
Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: If905393d73892256175ac5059503a9fc4a6a32f6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 331447653..7e5ee9d6a:
> Fix vaapi support for QtWebEngine
> FIXUP: Qt GN integration
> [Revert] Remove dependency on libgbm
> [Revert] Avoid using libdrm
> FIXUP: Fix building with system ffmpeg
> FIXUP: Fix building with system ffmpeg 4.4 or 5.1
> FIXUP: Fixes for jumbo build
> FIXUP: Stop using C++20 initialization
Pick-to: 6.5
Change-Id: I98fed6e23e55133946dcf3673ef74039d270f263
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
| |
Only seen working in vulkan and EGL modes so far.
Does not work with system libvpx
Fixes: QTBUG-91677
Change-Id: Ie2956c2b841854c78fc1af3c1010fb877728acb1
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
| |
Implement WebActions to temporarily change text direction directly from
context menu - like Chrome does. They only work for the selected input
field. Omit the "default" option since it is always grayed out in Chrome.
Task-number: QTWB-67
Change-Id: I4bacbd82c6bd7261ac465eec9da3776613f98074
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Reflect latest changes to qtwebchannel.
Change-Id: I10bc1690dc32ce1bb61ed9dabc7f31a44d2fdf7e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
FPDF uses int values defined in fpdfview.h:955ff, representing page
rotation. Respecting coding style, this patch adds an enum in
QPdfDocumentPrivate to introduce meaningful names instead of int
values.
Pick-to: 6.5
Change-Id: I54cefe336de3670026cfc4d7f4436e5898e43b54
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: I98bce5dcf7f2c35b5ed3382be2e49340b134e355
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 8c839a298..331447653:
> FIXUP: Adapt DevToolsUIBindings for WebEngine
> FIXUP: Remove linking with libatomic
> Fix build with enable_vulkan=false
> FIXUP: Workaround debug iterator issues with MSVC
Pick-to: 6.5
Change-Id: I95d7bc540aeb4f62354e0a547f3fe9dc08b72051
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Adds a check on Unix system for the presence of a system OpenJPEG 2
library and builds against it if present.
Task-number: QTBUG-63889
Pick-to: 6.5
Change-Id: I9fd90c96d733154b912acf4e9c7f06c17a39b244
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a member variable that contains the response headers
to QWebEngineLoadingInfo. It is filled when a
QWebEngineLoadingInfo instance is constructed inside
WebContentsDelegateQt::emitLoadFinished(bool).
The response headers are extracted from the navigation handle when
WebContentsDelegateQt::DidFinishNavigation(content::NavigationHandle *)
is called.
The response headers are non-empty when QWebEngineLoadingInfo::status()
is equal to QWebEngineLoadingInfo::LoadSucceededStatus or
QWebEngineLoadingInfo::LoadFailedStatus.
Fixes: QTBUG-106862
Change-Id: I4d196e3cc71725ddad9a5832af72d1b4e50924c8
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
| |
Writing it like in chromium saving us a patch there
Pick-to: 6.5
Change-Id: I98a769844871b6ed661519380f24068c1c0c25d9
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds the QWebEngineUrlScheme::FetchApiAllowed flag and
test cases to test its effect.
When FetchApiAllowed flag is set a custom url scheme can be used by the
HTML5 fetch api.
Fixes: QTBUG-88830
Change-Id: I953dd0504bf508fd8082fae5db08b7b9fc47ea1f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
To do so, we need to deal with the macros a bit differently, so here, I
replaced the macros with available utility functions, and added one for
the QTWEBENGINEPROCESS_NAME.
Fixes: QTBUG-110873
Task-number: QTBUG-99238
Change-Id: I29b41ffb8059511d2d93bfc01d40308aedaa8ad4
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Pulls in the following patches:
* 8c839a298a5 Custom URL Schemes usable with HTML5 Fetch API
Task-number: QTBUG-88830
Change-Id: I113dbe0359269c6e50e4f369fbc0258b4784c462
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keeping the GetInProcessGpuShareGroup in content browser client
creates dependency from gpu_child_thread to content browser,
however gn build tree asserts when content/public/gpu depends on
content/public/browser as it breaks intended components dependency.
This worked so far as required headers in content browser client
got generated on time despite of missing dependency.
Fix the dependency tree and move the problematic function into
the content gpu client.
Pick-to: 6.5 6.4
Change-Id: Iedcbc8c3c7d1754d1937e6b2c2a470c0e489a597
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pulls in following patches:
* a99ba129737 [Backport] CVE-2023-0474: Use after free in GuestView
* 05ea098dd34 [Backport] CVE-2023-0473: Type Confusion in ServiceWorker
API
* 163ca80e46f [Backport] CVE-2023-0472: Use after free in WebRTC
* c033e30b908 [Backport] CVE-2023-0471: Use after free in WebTransport
* 23b96f58c5e [Backport] Security bug 1406115
* c67083d788a [Backport] Security bug 1404811
* 1c46e13f96b Adapt DevToolsUIBindings for WebEngine
* 9e1092cefd7 FIXUP: Fixes for jumbo build
* f088c97075a Do not override getaddrinfo in libc_interceptor
* be1ee6225d0 Drop dependency on content/public/browser in content gpu
Pick-to: 6.5
Change-Id: I0af3a1f12a315fc4756d9463d3837de87db888b0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Add fallback to custom implementation.
Add subdirectories of ControlsDelegates to import path.
Change-Id: I88224b267419664484cd0667456d9463d5c61bee
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
| |
error messages
Also fix typos.
Pick-to: 6.4 6.5
Change-Id: I6e505102dc2241e4e00b181d0c4a097af4a40d35
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pulls in following patches:
* 0b138dc30d0 FIXUP: Avoid using libdrm
* 006ab12dc35 [Backport] CVE-2023-0138: Heap buffer overflow in
libphonenumber
* c49e5e48ff6 [Backport] CVE-2023-0141: Insufficient policy
enforcement in CORS (2/2)
* 4f89844cf42 [Backport] CVE-2023-0141: Insufficient policy
enforcement in CORS (1/2)
* 63077f1575b [Backport] CVE-2023-0131: Inappropriate
implementation in iframe Sandbox
* ee6f7906f9b [Backport] CVE-2023-0132: Inappropriate
implementation in Permission prompts
* 1f19a05eaa8 [Backport] CVE-2023-0129: Heap buffer overflow
in Network Service
* d4b983b72ad FIXUP: Remove VkDevice parameter from
SurfaceFactoryOzone::CreateNativePixmap()
Fixes: QTBUG-110272
Change-Id: I9fe5bd6c3643342b6f1b0f8a6c5daaec65e76944
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit d248cd2d37c413f878c6d5effa70c4b917dfc5de)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Resolving TODO, the corresponding Active Qt issue has been fixed.
This amends commit 614d6639b875f53b21eaabd2d5928b84b59af707
Pick-to: 6.5
Change-Id: If0144af83cd1d512b151ce82a38e47b4811fbfa8
Taks-number: QTBUG-110157
Taks-number: QTBUG-110158
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add additional response headers field to URLRequestCustomJobDelegate.
Those fields can be set via
QWebEngineUrlRequestJob::setAdditionalResponseHeaders(
const QMap<QByteArray, QByteArray> &
). They are added to URLRequestCustomJobProxy::m_client when
URLRequestCustomJobProxy::reply(std::string, QIODevice) is called, and
added to the response headers within
CustomURLLoaderFactory::notifyHeadersComplete().
Fixes: QTBUG-106578
Change-Id: Ie0f0af07a5381c6f24ec0a1ee1b5bcb0e8c4fa5f
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As a corner case, QCoreApplication::arguments() might be empty. For
example, the embedder sets argc=0. It is invalid but doesn't crash
or warn.
base::CommandLine expects program name to be set and Chromium code might
use it. It is not possible to set program name if argv is not passed to
QCoreApplication.
This change does not handle this corner case but detects it, and warns
the user to not expect proper behavior.
Pick-to: 6.5
Task-number: QTBUG-110157
Change-Id: Ibf14b11bbf8b8c72d8a1d8419377a25b311b9ebe
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Keep it enabled for simplebrowser and quicknanobrowser examples. Also
add documentation how to enable it.
[ChangeLog][WebEngineCore] Disabled WebEngineContext dump by default.
Fixes: QTBUG-109040
Pick-to: 6.5
Change-Id: I4bd3c0e9eb532771f9b455863324e9dacaae884a
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add reason string and version for deprecation. Also mark the
constructor of QWebEngineQuotaRequest class deprecated.
Amends 8fd7140082e3a752ca80882a29128ffc12d12fa4
Pick-to: 6.5
Task-number: QTBUG-109580
Task-number: QTBUG-56354
Change-Id: Ifa15bb5eaccabd62acbeb05df071c4bdc9584c95
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RenderWidgetHostViewChildFrame does not Ack mouse wheel events.
RenderWidgetHostViewQt::handleWheelEvent expects Ack on every event.
Origin-Agent-Cluster is a HTTP response header that instructs
the browser to prevent synchronous scripting between same-site
cross-origin pages. Chromium also uses this header as a hint
that an origin should get its own separate resources, such as a
dedicated process. That's where child frames are created.
This feature is implemented in chromium 88.
Add observer to child frames that responds to wheel events.
Add test for wheel/scroll events on child frames.
Pick-to: 6.5
Fixes: QTBUG-109348
Change-Id: I20439a9068c5c2f8416a350891a6cf8830e1a5d6
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
- Fix typo in link
- Qt Location is no longer linked in Qt WebEngine Features
- Replace Qt Location with Qt Positioning module
Pick-to: 6.4 6.5
Change-Id: Ia736fee8f0775fd6067c6f1e7a670b3bd7d8acb5
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
| |
We lose details in the translation to Qt exit codes.
Pick-to: 6.5 6.4
Change-Id: I890242ac78bf82cc6ef38d3aa8c6a25677714071
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
| |
Cover all the possible values in the translation.
Pick-to: 6.5 6.4
Change-Id: Id5db3cceddd62f9f7c77ee8a2017e9c920f8b7d5
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
| |
Build less when disabled.
Pick-to: 6.5
Change-Id: I196073ce859216a041b3d13ea585fca749a52700
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Leftover from Chromium 80 adaptations.
Pick-to: 6.5
Change-Id: I644142e6552e6a45b0a5cc2a501b20dd951c9cea
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Chrome interprets accepting file picker dialog as a user consent and
grants access permission to the selected files automatically. We have
to do the same since we don't get any permission request in this case
anymore.
This issue did not affect directory picker and file saver modes.
Also add AncestorHasActivePermission() check, it seems to be effective
to not request permission again for the same file if the parent dir
was already pulled in by this API.
Pick-to: 6.4 6.5
Change-Id: Id73d8fc6e9bd518692362133f3dafa472f0e97a1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Our implementation of QML file picker was outdated. Now directory picker
is a separate type of dialog and other file selection modes are set in
FileDialog.fileMode property.
Pick-to: 6.4 6.5
Change-Id: Icc62369539c56666e596e5ee6f1b3068a43acd81
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The fileDialogListener was manually released (to avoid its fullscreen
blocking habit), but it doesn't exist if the file picker controller
was originated from the File System Access JS API. Move this operation
inside the proper condition to avoid crash.
Pick-to: 6.4 6.5
Change-Id: Ife5a8451410f91350d280b41203523991f69774f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty d7abc8b24..1ccfe20ad:
> FIXUP: Jumbo builds
> Merge remote-tracking branch 'origin/upstream-master' into 108-based
Pick-to: 6.5
Change-Id: Ib11a7e5422415229c5ed109d63375c4953df97d2
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
| |
Provide the same values what are available from JavaScript.
Pick-to: 6.5
Change-Id: I9e047d749279934d0c8ccd45710571e8c7745859
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.4 6.5
Change-Id: I582706448b7c238a7ff7002df8256e9ee47fa582
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Submodule src/3rdparty 95eaac0c8..d7abc8b24:
> [Backport] Fix up guarding SharedImage factories using Vulkan
> [Backport] Remove VkDevice parameter from SurfaceFactoryOzone::CreateNativePixmap()
> [Backport] viz: Do IWYU in skia_output_surface_impl_on_gpu.cc and .h
> FIXUP: Fixes for building with MSVC
> FIXUP: Fix gn build windows issue
> Update project's url for lighthouse
> Fix initalization for FCM
> Remove custom push servcie endpoint support
Pick-to: 6.5
Change-Id: I1febdb78004cfca7076b0fd348a8aae2f5c563da
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ui::TranslateAndScaleWebInputEvent() scales movementX/Y if the input
event is not raw.
It is not exactly clear what is the expected behavior and browsers
handle movementX/Y scaling differently. W3C states that
currentEvent.movementX = currentEvent.screenX - previousEvent.screenX
which is not true with scaling.
This is a workaround for https://crbug.com/907309
This fixes tst_QWebEnginePage::mouseMovementProperties auto test with
QT_SCALE_FACTOR=2.
Pick-to: 6.5
Change-Id: I6d1fd591ec2bbeb22c448772c367b59509244491
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: I7128608467e4d0ce1b04efa9b82a98f78942d4db
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|