| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: I368d53e250cd06908db2c2dfb12d6227f835f136
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Fallback to Stub implementation instead of crashing.
Pick-to: 6.5
Task-number: QTBUG-105124
Change-Id: I7ad41daefe279b33bf924c74ee90e7d6a2375a63
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Use the same message text as in QML and allow for changing languages
by removing the static string constant. Use 1 fractional digit for the
point.
Pick-to: 6.5
Change-Id: Iac3b5374e32a9a97af157c6ba6833ad845b02750
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.5 6.4
Change-Id: I6b18382a376bf3067323e801f6f39bf4ec09e9dc
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.5
Task-number: QTBUG-105147
Change-Id: I65ba9ab91fb55b51b20583a5dacc8b2d9634c42e
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.5
Fixes: QTBUG-105147
Change-Id: I0022964903f3443cc97843c62468ab9be8ae2ed8
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pulls in following patches:
* 481d91afcf3 Fix initialization for FCM
* df46b0483d4 Force python to write with utf8 encoding
* 1051027a309 Remove custom push service endpoint support
* 702cba29bcc FIXUP: Fixes for jumbo build
* fb8de43885e FIXUP: Fixes for jumbo build
Change-Id: Ifcd7fe759ea0b8033ee3a0fce889f4fd165a5af7
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Use setPushServiceEnabled instead. Update also getter
and documentation.
Task-number: QTBUG-107442
Pick-to: 6.5
Change-Id: I299ce88b06edef0f1a0088fb10f4a142056039be
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The C toupper/tolower functions are locale-dependent. Given the right
locale (Türkiye, e.g.), tolower(I) is either
- ı (LATIN SMALL LETTER DOTLESS I; if representable in current charset)
- I (unchanged; if it isn't)
Both results are wrong for the present use-case, so use US-ASCII-only
QtMiscUtils::toAsciiLower() to side-step the issue.
Besides, feeding unfiltered char values into tolower() is UB. You'd
first have to cast to uchar:
https://en.cppreference.com/w/cpp/string/byte/tolower
Task-number: QTBUG-109235
Pick-to: 6.5 6.4
Change-Id: I57887581ba2e548e978223337d681124b30bf754
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
|
|
|
|
|
|
|
| |
Add missing perf store values.
Pick-to: 6.5
Change-Id: Ic9b264c22e1d419e6c89ce4e0f9b5b843aded8cb
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As JavaScript parsing issue got fixed , the limit was
not changed, meaning there where 4 "unused" warnings
possibilities. In the meantime another change
e6a13d97898f3f4b19f61006d0716ca9e1b9f037
was merged which had 3 qdoc issues, which got therefore
unnoticed.
Fix those issues.
Do not use underscore in example name and rename push_notification
to push-notifications (like qtbase network-chat).
Pick-to: 6.5
Change-Id: I2635424e24d3b9a0a02c2e6fe8ac383eec95c112
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
A required dependency for qttools is merged.
This reverts commit f85b1381be8aeda4de7d364e4b51f09fc560c0c1.
Pick-to: 6.5
Change-Id: If0f0a990a9f5ec2c8601057d803875f19893bf6a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
This is done to give the items upper in the hierarchy a chance to
update their hover state.
Fixes: QTBUG-109243
Change-Id: I011b49697711547b5096ef793a36a42ab34decfd
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
The previous response head gets moved when redirecting, which lead to
dereferencing a null pointer on the next redirect.
Pick-to: 6.4 5.15
Fixes: QTBUG-109357
Change-Id: Iaad1c46b8d4ca9720f1749980a9e06337ca0f3d8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][QWebEngineWidgets] Added touch selection menu.
Task-number: QTBUG-100418
Task-number: QTBUG-91712
Change-Id: Iffb994e429b92389e64cd6a93a0b034d6aa07f66
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Use QInputDevice to query pointer device specs.
Fixes: QTBUG-63174
Change-Id: I34737c903d2d9c8cb387941ef5e9b1b93afce1f0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
After the 106-based adaptations V8 sandbox is enabled by default. It
cannot be disabled runtime anymore.
The initialization of the sandbox has significant overhead in a
qemu-aarch64 environment, at least 5sec. This makes most of our auto
tests timeout.
The sandbox is not supported on 32bit platforms. The detection of the
QEMU target relies on the environment variable
TARGET_OSVERSION_COIN=qemu on the CI.
Fixes: QTBUG-108993
Change-Id: I45961bc2e8a0af505113777f2b26f10b93b7477f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
| |
The correspdonding v8_use_snapshot gn argument has been already removed
in the Chromium 79 adaptations. It is useless since then.
Change-Id: Ied1df9e8ed3149a0309d90fc026f4158627c0bcc
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Requesting host quota is no longer supported by Chromium.
navigator.webkitPersistentStorage has became an alias for
navigator.webkitTemporaryStorage after the Chromium 106 update.
Requesting quota for temporary storage is needless because the
allocation is automatic and storage can't be requested beyond the
maximum limit.
The logic of the persistent storage will be entirely removed in the next
Chromium update so just deprecate the API and remove the corresponding
implementations.
[ChangeLog][QtWebEngineCore] Deprecate QWebEnginePage::quotaRequested()
signal and QWebEngineQuotaRequest class. The signal is not emmitted
anymore.
[ChangeLog][QtWebEngineQuick] Deprecate QWebEngineView.quoataRequested()
signal. The signal is not emitted anymore.
Task-number: QTBUG-56354
Change-Id: Ie397598c416d9e811270ba56a97f8984948277f7
Reviewed-by: Szabolcs David <davidsz@inf.u-szeged.hu>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I8f0154f7f664a2b438cbe6e06b4638156d04f550
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Fix compiler warning about deprecated QScopedPointer::take.
Pick-to: 6.4
Change-Id: I71f714e0dd301db51580b5e03d860d6d214a84b3
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
|
|
|
|
|
|
|
|
|
| |
[ChangeLog][WebEngineCore] Client hint headers now added to HTTP
requests
Fixes: QTBUG-107451
Change-Id: I450fe1fe782b702fc81a3d90c82c0ece6a19ea45
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|