diff --git a/src/webpage.cpp b/src/webpage.cpp index 31420a25c6..b0fa9cbe98 100644 --- a/src/webpage.cpp +++ b/src/webpage.cpp @@ -951,6 +951,9 @@ void WebPage::openUrl(const QString& address, const QVariant& op, const QVariant request.setUrl(url); m_mainFrame->load(request, networkOp, body); + + // Emulate the behavior of old QtWebKit + m_loadingProgress = 1; } } diff --git a/test/module/webpage/loading.js b/test/module/webpage/loading.js index 61aade1dee..6af3324429 100644 --- a/test/module/webpage/loading.js +++ b/test/module/webpage/loading.js @@ -18,6 +18,4 @@ async_test(function () { assert_is_true(page.loading); assert_greater_than(page.loadingProgress, 0); -}, "page loading progress", - { skip: true } // FIXME -); +}, "page loading progress");