Skip to content
Verified Commit 00ecb996 authored by ivan tkachenko's avatar ivan tkachenko 🗯
Browse files

tst_pagepool: Fix test properly

The previous attempt was "fixing" the test without understanding the
underlying issue. A change to QList value type properties handling in
QML caused this test to iterate over a mutable array-like structure
which holds a reference to its originating object and it changes every
time the underlying property changes.

We still need to iterate over all the items here, so we make a shallow
immutable copy with the usual Array.prototype.slice call beforehand.
parent 3af2cfcb
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment