| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Makes it cleaner to expand it later.
Change-Id: I2ccbcf143ca676c3fb89641b40e0848b6dd4bae8
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
| |
Seems that with pyqt we have to fallback to qpa.
Task-number: QTBUG-67898
Change-Id: I70889b4f5858f675e4692858de3dcb111c64c147
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
e0864b6551ba Revert "For local origins CanDisplay should be treated as CanRequest"
c47570975b7e [Backport] Don't sniff file URLs for HTML.
a2e3b4e55ea0 [Backport] DevTools: speculative fix for crash in NetworkHandler::Disable
98a2b309e128 [Backport] Use correct Request Context when EMBED or OBJECT requests an image
09731111686c [Backport] Remove usage of SEE_MASK_FLAG_NO_UI from ui::base::win
848a0b395f95 [Backport] Merged: [wasm] Call FatalProcessOutOfMemory on OOM
d7809694d8ce [Backport] Merged: [turbofan] Properly test number of descriptors.
880dbfff351d [Backport] Revert "Roll libxml to 707ad080e61014ab4a6d60dc12875e233c1f673c"
9ad7a2ac8ae1 [Backport] Roll libxml to 7a1bd7f6497ac33a9023d556f6f47a48f01deac0
5ca051ce6e17 Fix use after free in DeviceMediaToMojoAdapter
24cf628c8e4a [Backport] [turbofan] Fix dead loop exit removal.
61b62c6ef03f [Backport] Use PaintLayer pointer from PaintLayerScrollableArea as PaintLayer is destructed first.
287955ba1c32 [Backport] VP9 GoF/temporal index check.
8c7d2f8a1cd6 [Backport] Check actual text length in InlineTextBox::IsLineBreak
1f64262b5d [Backport] Track the location of IHDR in PNG
7ae5eb6188 init out-param on buffer failure
Task-number: QTBUG-67800
Task-number: QTBUG-67870
Change-Id: I6b68f4dd51b214f53bb8dcc0853e1559520764ef
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-67904
Change-Id: Ib97ca78d8a7e489534c5985237782963f7295d80
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
| |
All pages in a site instance should belong to the same browser context, an
invariant which is violated by our WebContentsDelegateQt::OpenURLFromTab.
Task-number: QTBUG-67900
Change-Id: I754180bb96de07448ee3058210391f7856f4caeb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
6e2354c9971e [Backport] service worker: Skip service worker for all Pepper plugins.
9908339e3989 [Backport] service worker: Disable interception when OBJECT/EMBED uses ImageLoader.
4ec3a984093e [Backport] Merged: [wasm] Avoid integer overflow on function locals check
e9ec9ada1c39 [Backport] Enable <video> to see if a response from a service worker was cross-origin.
c46b6312e1dd [Backport] Enable the Oilpan metadata canary in production builds.
adb836fcdfcb [Backport] Oilpan: Disable prompty free for weak collection backings
3cf495268dd3 [Backport] Reland: Oilpan: Immediatelly promptly free objects.
ba51ea1c97e3 [Backport] If a page calls |window.focus()|, kick it out of fullscreen.
744262b7512d [Backport] service worker: Disallow opaque responses for WebVTT.
0dcab5a6bd94 [Backport] DevTools: check Host header for being IP or localhost when connecting over RDP.
0558fd6946db [Backport] Fix MediaObserver notifications in MediaStreamManager.
cbe8bec08847 [Backport] Map U+0454 (є) to 'e' (small E)
e818a3dc9a83 [Backport] Add more entries to the confusability mapping
16c374f9f30c [Backport] Add a few more entries to the confusables list for IDN
43bff7cb2280 [Backport] [M66 branch] Add more to confusables list
75434e5f622e [Backport] Fix bug in async generators.
Task-number: QTBUG-67800
Change-Id: I3728c42d8a7492b76748e2dfc9fa056852b1562c
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|\
| |
| |
| | |
Change-Id: Ide3f60771813db37aac87fc7b7a8aae66d4fe1e0
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes:
3c5150686978 Remove NOTREACHED in ScreenWin::GetNativeWindowFromHWND
c3a7eab76f70 [Backport] Blockfile cache: fix sparse + evict reentrancy problem, take 2.
cdae16717515 [Backport] [MemCache] Fix bug while iterating LRU list in eviction
107477bf1cf4 Pass virtual url of data url request back to the UI
bf10f2f32a33 Don't create undeserializable mojo origins
04c37e5d545f [Backport] [wasm] Use guard pages for minicage
66c763feb029 [Backport] Merged: [wasm] do not reuse externalized backing stores when growing
5ef6d51aa222 [Backport] Copy visible_pages_ when iterating over it.
d16c1774d1ac [Backport] Skip Service workers in requests for mime handler plugins
af49c0deab15 [Backport] Fix possible overflows in hair line path renderer vertex counts
de120c712b75 [Backport] service worker: Disallow interception for EMBED and OBJECT requests.
Task-number: QTBUG-67800
Change-Id: I421d37a303f84dfdd8547c294ac0731ed9eacac7
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We are not supposed to set the QWidget as non-visible, this removes the
widget from layout and focus, and no other QWidget does that on minimize,
instead just set qquickitem as non visible.
Task-number: QTBUG-65595
Change-Id: Iefb52243229d11879a7a38c641084c266eef2207
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When building a macOS framework build, paths like process path,
resources path, icu path, etc are determined solely by the existence
of the WebEngineCore.framework bundle, which is found using its bundle
id.
There might be cases when the bundle is not present. For example when
deploying a WebEngine PySide2 application using PyInstaller, the layout
of the copied files is changed.
In this case considering application path (current application
directory) as a candidate path, as well as the rest of the candidates
paths would be useful.
Change-Id: Ide3fd62756659ec8d42c5629c0efa1d60602ed80
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|/
|
|
|
|
|
|
|
|
| |
Fixes bug introduced by 4b30d82f05064723b9c3684e1c16ae0cf9d71baa where somebody
had the bright idea to call reject() from RequestController's destructor. Of
course, at this point the subclasses have already been destructed and a pure
virtual method call error is triggered.
Change-Id: Ida581285828c592a76f9ca981ec780f2711d298e
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
| |
Task-number: QTBUG-66905
Change-Id: I149a0d6a9b16ddc55c52200b7dce2b5e37409e9d
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
| |
Change-Id: Ib6763a8a3e1ac1ac98caef39f7e6e75c18344424
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Iterator debugging (aka standard library debug mode) with libstdc++ slows down
some code by orders of magnitude due to locking for each iterator operation.
Disable on non-MSVC platforms.
Task-number: QTBUG-66904
Change-Id: Ibb31f32235084b52988ac674b4b0bb1b198eed88
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Otherwise we are listed as "Chromium"
Task-number: QTBUG-67707
Change-Id: I1d121b28913887f3b6d6dbccf3a9a0c91ae84fc1
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
| |
Make sure it is opened after initialization of the inspected content,
and deleted when the inspected content is closed.
Task-number: QTBUG-67642
Change-Id: Ie7218bc437e8c529205ceb7744c4aa0c9ffe6c75
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
| |
The pbuffer creation with egl can fail, however
this is expexted if surfaceless egl is used.
Task-number: QTBUG-65682
Change-Id: I0aefda0bec3d3b4943df20697b495dba83e012a7
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-65561
Change-Id: I39b318b65c692c6b0fa9c81865fcaef5c7ee691c
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The check g_egl_surfaceless_context_supported can not take place in
InitializeExtensionSettingsOneOff since correct surface/less
initialization is required for gpu info collection which
is initialized with InitializeGLNoExtensionsOneOff. Otherwise
egl with pbuffers is only supported, which will fail on wayland.
Move the check to InitializeOneOff.
Task-number: QTBUG-65682
Change-Id: I0f5107134366f141e1941e824e3238473383962a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
| |
Change-Id: I2a5b35810d20dec685e134f6d8fe3383003d33d1
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
| |
Change-Id: I55b033a03ec581841e1cea55c3d707067ee5ef42
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
| |
Stop exporting quota / RegisterProtocolHandler request controller classes, and
use the public wrapper classes in WebContentsAdapterClient instead.
Change-Id: Iaa380b6ceb4f9464fc05dd012ee5df219f11f189
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Remove 'permission' from class and signal names, so e.g.
QWebEngineQuotaPermissionRequest becomes QWebEngineQuotaRequest and
quotaPermissionRequested becomes quotaRequested.
Rename the internal controller classes to public name + "Controller".
Change-Id: I247714ab0a2880adbf4ed8ee68f1b78838ae7a14
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
The devtools webcontents-adapter is no longer guaranteed to be
initialized at this point, and we can initialize it directly with the
right site instance.
Task-number: QTBUG-67642
Change-Id: I8abbd4297ae677d3bd8d45f00f7463d60ee2bce5
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This allows writing something like
FindFlags x = FindBackWard | FindCaseSensitively
Change-Id: I88f8465dd64482ad871530fbb6d6351895fe6a3a
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Use lazy binding for static bindings initialization, the
same way we do in ozone.
Task-number: QTBUG-65682
Change-Id: I51ecdfa3b7daca8b1345cf2c0c89a4ac6e25a7c9
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
Task-number: QTBUG-67653
Change-Id: I07c9dca788ee31f691b05f7647ffbf3f9e0b7260
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Changes:
e173cb17d9 Do not initialize static bindings in x11_initializer
7c379772b2 Disable mask-tiling until we support it
Task-number: QTBUG-67585
Change-Id: Ic557125e75fb7bdcdc0cd476d7e9c2a7da5f052a
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
| |
I don't know when it is used, but we have the support, so lets do it.
Change-Id: I1784ae902598c99c73c651b6929256e36610ed6d
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Changes:
312f43a137d4 Fix bypassing of installed CDM component define on macOS
f1a3b4eec78e Fix compilation with system ICU 59
aa9e7d726498 Do not export .gitignore and .gitattributes
Change-Id: I4a7e95a3f7eddc2f0eaa778478688880452a1620
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Even if we don't yet implement handling it, we need to hold it to not
assert later on it missing from held resources.
Task-number: QTBUG-67414
Change-Id: Ic14efba383ba7f1809238768b386b2254fad7121
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
| |
Change-Id: I0f88772a0e869de3c7bfd065227b6151558c7408
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
| |
Move implementation of DirectCompositionSurfaceWin::IsHDRSupported() so
OpenGL definitions doesn't conflict.
Change-Id: Ib5d61b647b9a6ca00e8f9dae2dffb8cb72fa09c0
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Avoid creating a blank WebContents for new QWebEnginePages only to replace it
with a different blank WebContents moments later. This problem is already
solved in QQuickWebEngineView by lazy initialization, therefore the patch
moves this lazy initialization into WebContentsAdapter itself so that it can
be applied to both QQuickWebEngineView and QWebEnginePage.
- Try to delay WebContents creation until the first navigation so that we have
enough information available to pick the right initial SiteInstance when
calling WebContents::Create. This is done by triggering WebContents creation
from the first call to a WebContentsAdapter::load* method.
- Use the SiteInstance from WebContentsDelegate::OpenURLFromTab. This method
gets a SiteInstance pointer which we should give to WebContents::Create.
Task-number: QTBUG-65561
Task-number: QTBUG-67163
Change-Id: Id7b351998adefb810cf27c61a1447b61d7f4c606
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
QWebEngineView hides its siblings in its parent layout. (See QTBUG-66957)
Change it to use QVBoxLayout for now.
Change-Id: I4e89d8c06d990633adab1150de1c62552f0033a1
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
When right clicking on a simple image there would be a separator on the
top of the DefaultContextMenu. This patch fixes it by checking if the
context menu has any elements in it before adding a separator.
Change-Id: I6bbe91fdac9f49006be8cc73df1d97d34f3c2848
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Q_FLAGS is deprecated, and is replaced by the more powerful Q_FLAG macro.
Anyhow, Q_FLAG and Q_FLAGS only makes sense if used inside
a QObject or Q_GADGET. The patch therefore makes QWebEngineContextMenuData
a Q_GADGET.
Change-Id: Icccb373846a645272a7bf29397b930ae80be9b85
Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
Reviewed-by: Valentin Fokin <fokinv@inf.u-szeged.hu>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
This ties the indexed-db, DOM storage and filesystem access to
cookie rights as they can all do the same cookies. A previous
patch did the same for workers, but we were missing this
class to complete the logic.
Change-Id: I5ea894b6c631bcf25439759174866d260b91b71a
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
| |
Change-Id: Ibca5362c9d1e388885132259fa95a9f575f45fc8
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Refactor GLSurfaceWGLQt to speparte file.
This class is not used by ozone, however is keept
in ozone subdirecotry with other surface classes.
Change-Id: I161582546b597912bc4c1c75ebbc0c1763aebed5
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
| |
Move GLSurfaceGLXQt and GLSurfaceEGLQt to own
implementation files,so they can be reused easly
by ozone backends.
Change-Id: Ie403a941424343e13775866772bed709d7cbff6a
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
| |
This caused an unnecessary dependency on skia
Change-Id: Ic3f109f985632c3f3cb4c8681e9a8290f463bb53
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of always allowing all workers, disallow when similar cookies
would have been disallowed.
This is following the same logic as Chromium is using.
Change-Id: I6b9d6c63b894287f64171b138fe03ec080af5115
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
| |
Task-number: QTBUG-67279
Change-Id: Iff2466cfe3b8bbdb77066f3318014fcb51e2e402
Reviewed-by: Michael Brüning <michael.bruning@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This caused build issues in certain configurations. We don't actually
need it, as we can rely on the base Qt include path instead.
Also move the custom module header under src/webengine/doc and rename
it.
Task-number: QTBUG-67342
Change-Id: Id5e809202ddaa285bfcc341a36b0b3d5a7ade436
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Reviewed-by: Martin Smith <martin.smith@qt.io>
|
|
|
|
|
|
|
|
|
| |
qdoc has magic to remove the 'This XXX class' in the class overview,
but not type. See e.g.
http://doc-snapshots.qt.io/qt5-5.11/qtwebengine-modules.html
Change-Id: Idd38a860ae08c7199c322d16c3ccc737972131a0
Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io>
|
|
|
|
|
| |
Change-Id: I633c616fa5b454ecce97037ed068997c26bd72bf
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit ef1d61a3516182b0a39330b5ac5988f92c82bc4f introduced a
regression where multiple shortcut events where delivered on
macOS.
Instead of using tryShortcut (which triggers shortcut events) to check if
the shortcut needs to be overridden, check if the shortcut map has an
entry for the key seqeunce in question.
Task-number: QTBUG-66207
Change-Id: I8d277e2ac39de8a1f2d2c43dc8486e042c4ea458
Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
|
|
|
|
|
|
|
|
|
|
|
| |
Move ozone related files to core/ozone.
Split classes so they can be reused for new
ozone platform backends.
Change-Id: I98a2aac6807ef2b3eee92eea9ecfd8fce6dd9d16
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As of version 63, Chromium creates proxy frames also for the main frame in the
frame tree during cross-process navigations. This leads to a segmentation fault
in WebChannelIPCTransport because we assume that all main frames are local.
See https://crrev.com/27caae83cb530daaf49f9a38793e427cdf493a65 for details.
This patch refactors the renderer-side WebChannelIPCTransport from a
RenderViewObserver into a RenderFrameObserver, which prevents the segmentation
fault since the RenderFrameObserver is not created for proxy frames. Most likely
this would have to be done eventually anyway since the RenderView and
RenderViewObserver classes are deprecated and will likely be removed as part of
the Site Isolation project.
Installation is changed to follow Chromium's RenderFrameImpl in the sense of
performing the installation from RenderFrameObserver::DidClearWindowObject
instead of ContentRendererClient::RunScriptsAtDocumentStart. This has the
benefit of avoiding the ScriptForbiddenScope DCHECK.
Additionally there are the following minor changes:
- The deprecated parameterless version of v8::Value::ToObject() method is
replaced with v8::Value::IsObject() check and v8::Local::Cast.
- The deprecated v8::Handle typedef is replaced with v8::Local.
- The deprecated single-parameter WebContentsObserver::OnMessageReceived is
replaced with the new two-parameter version.
- blink::MainThreadIsolate() is used instead of v8::Isolate::GetCurrent() for
Install/Uninstall since we know we are executing on the main thread.
- WebChannelIPCTransportHost is changed to ignore messages from unexpected
renderers in case something goes wrong with the renderers.
- Logging is added to WebChannelIPCTransportHost for debugging purposes.
Some new unit tests are added, all of which fail with the old version.
Task-number: QTBUG-66333
Change-Id: I936d142fb042d9f936a3f9d08d4328ecba595f1f
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
|