Comments (6)
Broken ABI
Edit: Ah, already fixed in Beta 2: [QTBUG-126374] ABI break in 6.8 beta 1: QPageLayout::setBottomMargin(double) - Qt Bug Tracker
from qutebrowser.
Missing security patch version in our dict
__________ TestWebEngineVersions.test_chromium_security_version_dict ___________
self = <test_version.TestWebEngineVersions object at 0x7ff5b9f9b8c0>
qapp = <PyQt6.QtWidgets.QApplication object at 0x7ff5c1759b30>
def test_chromium_security_version_dict(self, qapp):
"""Check if we infer the QtWebEngine security version properly.
Note this test mostly tests that our overview in version.py (also
intended for human readers) is accurate. The code we call here is never
going to be called in real-life situations, as the API is available.
"""
try:
from qutebrowser.qt.webenginecore import (
qWebEngineVersion,
qWebEngineChromiumSecurityPatchVersion,
)
except ImportError:
pytest.skip("Requires QtWebEngine 6.3+")
inferred = version.WebEngineVersions.from_webengine(
qWebEngineVersion(), source="API")
> assert inferred.chromium_security == qWebEngineChromiumSecurityPatchVersion()
Error: E AssertionError: assert None == '122.0.6261.128'
E + where None = WebEngineVersions(webengine=VersionNumber(6, 8), chromium=None, source='API', chromium_security=None, chromium_major=None).chromium_security
E + and '122.0.6261.128' = <built-in function qWebEngineChromiumSecurityPatchVersion>()
But QtWebEngine infos seem to be outdated, currently claiming the same as Qt 6.7 both in CHROMIUM_VERSION
as well as in code:
QtWebEngine 6.8
based on Chromium 118.0.5993.220
with security patches up to 122.0.6261.128 (plus any distribution patches)
(source: api)
from qutebrowser.
TestSavefileOpen.test_failing_flush failing
tests/unit/utils/test_qtutils.py:498: Failure: Qt messages with level WARNING or above emitted
----------------------------- Captured Qt messages -----------------------------
QtWarningMsg: QSaveFile::commit: File (/tmp/pytest-of-user/pytest-0/test_failing_flush0/foo) is not open
probably just a new warning from Qt we can suppress for that test?
from qutebrowser.
Permission caching/saving breaks tests
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_async_question_interrupted_by_async_one - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_async_question_interrupted_by_blocking_one - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_geolocation_with_ask__false - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_geolocation_with_ask__false_and_save - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_geolocation_with_ask__abort - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_always_rejecting_notifications - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'category': 'js', 'message': '[*] notification permission denied'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_always_accepting_notifications - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'category': 'js', 'message': '[*] notification permission granted'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_notifications_with_ask__false - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_notifications_with_ask__false_and_save - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_notifications_with_ask__true - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_notifications_with_ask__true_and_save - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_answering_notification_after_closing_tab - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
Error: FAILED tests/end2end/features/test_prompts_bdd.py::test_interrupting_ssl_prompt_during_a_notification_prompt - end2end.fixtures.testprocess.WaitForTimeout: Timed out after 15000ms waiting for {'message': 'Asking question *'}.
e.g.:
----> Waiting for 'Asking question *' in the log
[...]
07:58:57.045 DEBUG webelem webelem:click:411 Clicking <qutebrowser.browser.webengine.webengineelem.WebEngineElement html='<input type="button" onclick="get_notification_permission()" value="Get notification permission" id="button">'> with click_target ClickTarget.normal, force_event False
[...]
07:58:57.060 DEBUG js shared:javascript_log_message:190 [http://localhost:59211/data/prompt/notifications.html:28] [FAIL] unknown initial value for Notification.permission: granted
probably due to:
Added QWebEngineProfile::setPersistentPermissionsPolicy() to control how website permissions persist across browsing sessions. By default, incoming permissions are saved to disk.
I suppose we'll need at least a -D
flag (or maybe even a setting?) to set that to NoPersistentPermissions
(?) for tests.
from qutebrowser.
Related Issues (20)
- Configurable placeholders for audio status for tabs HOT 1
- Double download prompt segfault
- A stream site/service suddenly started causing renderer process crashed (status 133) on qutebrowser
- Add screen picker completion menu for screen sharing
- Youtube fullscreen doesn't work with Wayland (Ubuntu 24.04) HOT 2
- nitter.poast.org not working with qutebrowser HOT 2
- Feature Request: Picture-In-Picture mode for video players HOT 2
- Session autosave is unreliable HOT 1
- No module named 'PyQt6' after 3.02 update HOT 1
- Slack sign-in fails to redirect back to app HOT 6
- Crash on requesting one-time password on National Insurance website HOT 5
- Websites scroll to the top when statusbar is hidden HOT 2
- Renderer process crash when visiting atuin.sh website HOT 2
- quebrowser 3.2 Segmentation fault
- Build universal binaries for macOS
- Method to download-open a hint HOT 3
- Query state of webpage in userscript? HOT 3
- segfault: `hint links run fake-key -g ":download {hint-url}<Return><Return>"` HOT 2
- Can't view page source when using the uBlock Origin filter 'Badware' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qutebrowser.