<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/qt5/qtwebengine.git/tests/auto/shared/httpserver.cpp, branch 5.15.2</title>
<subtitle>code.qt.io: qt/qtwebengine.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/'/>
<entry>
<title>Make HttpServer to server resource from dirs for unhandled requests</title>
<updated>2020-08-31T08:04:44+00:00</updated>
<author>
<name>Kirill Burtsev</name>
<email>kirill.burtsev@qt.io</email>
</author>
<published>2020-07-31T14:02:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/commit/?id=5f1f7e8913b74f9a88864b4155db8753007db52c'/>
<id>5f1f7e8913b74f9a88864b4155db8753007db52c</id>
<content type='text'>
Change-Id: I2e15dff77c8f18af60a565cb74558f57c3527db8
Reviewed-by: Jüri Valdmann &lt;juri.valdmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I2e15dff77c8f18af60a565cb74558f57c3527db8
Reviewed-by: Jüri Valdmann &lt;juri.valdmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify testing with HttpServer</title>
<updated>2020-08-31T08:04:32+00:00</updated>
<author>
<name>Kirill Burtsev</name>
<email>kirill.burtsev@qt.io</email>
</author>
<published>2020-07-31T14:02:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/commit/?id=cb9e6a7d90035cd50e389f000df1a3103e312af0'/>
<id>cb9e6a7d90035cd50e389f000df1a3103e312af0</id>
<content type='text'>
Since reply with 404 for unknown resources is a common pattern in tests,
reply with it automatically for unhandled requests

Change-Id: Ifd184cf474f1ec311c8654dfbacdd735e33d7c97
Reviewed-by: Jüri Valdmann &lt;juri.valdmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since reply with 404 for unknown resources is a common pattern in tests,
reply with it automatically for unhandled requests

Change-Id: Ifd184cf474f1ec311c8654dfbacdd735e33d7c97
Reviewed-by: Jüri Valdmann &lt;juri.valdmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow deferring QWebEngineCertificateError handling</title>
<updated>2019-09-05T21:32:55+00:00</updated>
<author>
<name>Kirill Burtsev</name>
<email>kirill.burtsev@qt.io</email>
</author>
<published>2019-08-14T16:59:23+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/commit/?id=bf3753f02402b44455038c4fa2a897d41aadf850'/>
<id>bf3753f02402b44455038c4fa2a897d41aadf850</id>
<content type='text'>
Introduce defer() method for halting URL load on certificate errors,
and methods for rejecting and ignoring these errors subsequently
in async manner.

[ChangeLog][QtWebEngineWidgets][QWebEngineCertificateError] New
methods for asynchronous decision on certificate error during load.

Fixes: QTBUG-55110
Change-Id: Ib23eb568862ccc360208922a6a581f8e7edc4a7e
Reviewed-by: Michael Brüning &lt;michael.bruning@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce defer() method for halting URL load on certificate errors,
and methods for rejecting and ignoring these errors subsequently
in async manner.

[ChangeLog][QtWebEngineWidgets][QWebEngineCertificateError] New
methods for asynchronous decision on certificate error during load.

Fixes: QTBUG-55110
Change-Id: Ib23eb568862ccc360208922a6a581f8e7edc4a7e
Reviewed-by: Michael Brüning &lt;michael.bruning@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove download items internally when API objects are deleted</title>
<updated>2019-01-21T10:06:01+00:00</updated>
<author>
<name>Allan Sandfeld Jensen</name>
<email>allan.jensen@qt.io</email>
</author>
<published>2019-01-16T16:30:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/commit/?id=0deb1ffda77f0410b3d13419856c757cdd422d2b'/>
<id>0deb1ffda77f0410b3d13419856c757cdd422d2b</id>
<content type='text'>
We were never removing internal download item.

[ChangeLog][Behavioral Changes] Deleting a download item will
now also cancel it if it is still in progress.

Change-Id: I2fab497d7acf7ca6ca17f4a61e106b1c18bfb333
Reviewed-by: Jüri Valdmann &lt;juri.valdmann@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were never removing internal download item.

[ChangeLog][Behavioral Changes] Deleting a download item will
now also cancel it if it is still in progress.

Change-Id: I2fab497d7acf7ca6ca17f4a61e106b1c18bfb333
Reviewed-by: Jüri Valdmann &lt;juri.valdmann@qt.io&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Stabilize tst_qwebenginedownloads</title>
<updated>2018-04-03T08:14:00+00:00</updated>
<author>
<name>Jüri Valdmann</name>
<email>juri.valdmann@qt.io</email>
</author>
<published>2018-03-08T16:37:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/commit/?id=cce649b65d31353754af9e34148c0e8d4068d3cf'/>
<id>cce649b65d31353754af9e34148c0e8d4068d3cf</id>
<content type='text'>
The waitForRequest/waitForSignal function used by these tests is broken: it
assumes that calling QEventLoop::exit() will immediately exit from the event
loop. In actuality this is not immediate and the event loop may continue to
execute more signals handlers even after exit() has been called. This means that
in e.g. waitForRequest the 'result' variable may be assigned to twice.

Additionally there is a race condition in downloadTwoLinks, where we sometimes
skip the first download. This is not a bug but simply one pending navigation
being aborted in favor of another.

Changes

  - Delete waitForRequest. Define one HTTP request handler per test, using state
    variables to communicate with the main body of the test. Ignore unknown
    requests (including favicon requests). Same for downloadRequested signals.

  - Expand downloadTwoLinks and fix expectations.

  - Add logging to HTTPServer.

  - Unblacklist.

Task-number: QTBUG-66888
Change-Id: I718cac6c4b32a8cc68400fa8ee5b853686c77fcb
Reviewed-by: Peter Varga &lt;pvarga@inf.u-szeged.hu&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The waitForRequest/waitForSignal function used by these tests is broken: it
assumes that calling QEventLoop::exit() will immediately exit from the event
loop. In actuality this is not immediate and the event loop may continue to
execute more signals handlers even after exit() has been called. This means that
in e.g. waitForRequest the 'result' variable may be assigned to twice.

Additionally there is a race condition in downloadTwoLinks, where we sometimes
skip the first download. This is not a bug but simply one pending navigation
being aborted in favor of another.

Changes

  - Delete waitForRequest. Define one HTTP request handler per test, using state
    variables to communicate with the main body of the test. Ignore unknown
    requests (including favicon requests). Same for downloadRequested signals.

  - Expand downloadTwoLinks and fix expectations.

  - Add logging to HTTPServer.

  - Unblacklist.

Task-number: QTBUG-66888
Change-Id: I718cac6c4b32a8cc68400fa8ee5b853686c77fcb
Reviewed-by: Peter Varga &lt;pvarga@inf.u-szeged.hu&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for downloading a link via user action</title>
<updated>2017-09-12T08:21:00+00:00</updated>
<author>
<name>Jüri Valdmann</name>
<email>juri.valdmann@qt.io</email>
</author>
<published>2017-08-10T10:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/qt5/qtwebengine.git/commit/?id=1c7a520edfb850cc34a29d96417c475a373ed355'/>
<id>1c7a520edfb850cc34a29d96417c475a373ed355</id>
<content type='text'>
Change-Id: Ide3294840ceb3d18da0c4da92d892ff467a9b739
Reviewed-by: Michal Klocek &lt;michal.klocek@qt.io&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ide3294840ceb3d18da0c4da92d892ff467a9b739
Reviewed-by: Michal Klocek &lt;michal.klocek@qt.io&gt;
</pre>
</div>
</content>
</entry>
</feed>
