We calculated the expiry at time of download by looking at Max-Age, but as long as must-revalidate was true we would just perform the network request anyway. One issue this, further, highlights is our PreferNetwork and PreferCache options having no behavioral differences while being documented to do different things. They both consult the cache first and returns any non-stale data from there. Fixes: QTBUG-128484 Change-Id: I24b62e2bb072446e463482a778da7cfbd82a6835 Reviewed-by: Mate Barany <mate.barany@qt.io> (cherry picked from commit e4a35df2afc306e566884f3d917daa08e41761f8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> |
||
|---|---|---|
| .. | ||
| auto | ||
| baseline | ||
| benchmarks | ||
| global | ||
| libfuzzer | ||
| manual | ||
| shared | ||
| testserver | ||
| CMakeLists.txt | ||
| README | ||
README
This directory contains autotests and benchmarks based on Qt Test. In order
to run the autotests reliably, you need to configure a desktop to match the
test environment that these tests are written for.
Linux X11:
* The user must be logged in to an active desktop; you can't run the
autotests without a valid DISPLAY that allows X11 connections.
* The tests are run against a KDE3 or KDE4 desktop.
* Window manager uses "click to focus", and not "focus follows mouse". Many
tests move the mouse cursor around and expect this to not affect focus
and activation.
* Disable "click to activate", i.e., when a window is opened, the window
manager should automatically activate it (give it input focus) and not
wait for the user to click the window.