| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
Test intercepted getaddrinfo().
Building with 'as-needed' option is a must to reproduce QTBUG-110287.
Task-number: QTBUG-110287
Change-Id: I5ec2554c3b73efc9b1f1fdd7da0b6c7cbb360f25
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Chromium uses the 'first_dts' field from AVStream that has
been moved out from public api in ffmpeg 5.0.
Although some packagers patch their ffmpeg to be compatible
with chromium.
Add compile time check to test compatibility.
Pick-to: 6.4 6.5
Task-number: QTBUG-110749
Change-Id: I7658b9b12cb5122b6485f063edc3280f31fe9273
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I7b229f680629867e6d1db001f0a16d03b242c6a5
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Pick-to: 6.5
Task-number: QTBUG-110578
Change-Id: Ic063d08246351709d02642abc0747b5fbe9e2ef7
Reviewed-by: Michal Klocek <michal.klocek@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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is not maintained for a while and most probably also not used because
it is not working since Qt6.
QuickNanoBrowser example should be used instead, because it implements
most of the quicktestbrowser features.
Pick-to: 6.5
Change-Id: I330e1c6e0f4bf81c0bce0e6d70d47a513f63d8c7
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: Ia0d8bffa419174234e78e1359871e0dfa36b1636
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
This amends commit 8fd7140082e3a752ca80882a29128ffc12d12fa4
Pick-to: 6.5
Task-number: QTBUG-56354
Change-Id: I82803cf9bfab1ed5a07494ecce86722b634c204c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes deprecation warning:
qrc:/BrowserWindow.qml:35:5: QML Settings: The Settings type from
Qt.labs.settings is deprecated and will be removed in a future release.
Please use the one from QtCore instead.
Pick-to: 6.4 6.5
Change-Id: Ie027b243a312f148f72adfd6e68ce0f8d6e6d62c
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Pick-to: 6.4 6.5
Task-number: QTBUG-101408
Change-Id: Ie8a7944c3ded5662953bed00f022905f5805275e
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>
|
|
|
|
|
|
|
|
|
| |
Use QUrl::fromUserInput in lifecycle and webengineaction examples.
Task-number: QTBUG-96010
Pick-to: 6.5
Change-Id: I69cbcb1db31b0766d05f751b4aede11092d078d5
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
This change removes unused header includes from
tst_QWebEngineUrlRequestJob.
Change-Id: I8827fd907e4d9f839e94733639bb731e33a86ab4
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
| |
Pick-to: 6.5
Change-Id: If10e6c259d73dd1e09c4ddac0b297b856fb13502
Reviewed-by: Alexandru Croitor <alexandru.croitor@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>
|
|
|
|
|
| |
Change-Id: Ida8a536afd3b4ca7e1d98ca3e7fd9a911a8ddcb4
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The tests use the middle pixel's value of an image to check if a
certain icon is loaded. The images are scaled on High DPI screens and the
pixel values are changed due to interpolation. It cannot be expected to
have the same pixel values for different device-pixel-ratio settings,
thus rather skip the test than maintaining a list of pixel values for
different scales.
Pick-to: 6.5
Change-Id: I8d142de0106167a5d16c540fa468003b36c95317
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>
|
|
|
|
|
| |
Change-Id: I62b1926b3c2ab89595fcd7a362d1c2978e6a4f45
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
Amends 10d849f82e0408350d9235cafdf04cc654ac0046
The first argument was the directory in the old times.
Pick-to: 6.4 6.5
Change-Id: I98c5f8c762c3f41124628e64a720a52203eeac40
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>
|
|
|
|
|
| |
Change-Id: Ic90b69adb1dfc3a2e0f0e0c514fdeee9b8a0780b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
| |
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>
|