qt5base-lts/tests/auto/corelib/serialization/json
Thiago Macieira ddc7b3c156 QJsonObject: add missing detach2() calls
The refactoring to use CBOR missed two places where we could assign from
the same object and thus cause corruption. In fixing this issue, I found
a design flaw in QJsonObject, see Q_EXPECT_FAILing unit test and task
QTBUG-83398.

[ChangeLog][QtCore][QJsonObject] Fixed a regression from 5.13 that
incorrect results when assigning elements from an object to itself.

Fixes: QTBUG-83366
Change-Id: Ibdc95e9af7bd456a94ecfffd1603df24b06713aa
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2020-04-09 09:41:06 -03:00
..
invalidBinaryData QJsonDocument: Avoid overflow of string lengths 2018-05-14 10:52:47 +00:00
bom.json Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
json.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
json.qrc Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
test2.json Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
test3.json Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
test.bjson Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
test.json Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00
tst_qtjson.cpp QJsonObject: add missing detach2() calls 2020-04-09 09:41:06 -03:00