diff options
author | Olivier De Cannière <olivier.decanniere@qt.io> | 2023-02-06 10:12:11 +0100 |
---|---|---|
committer | Olivier De Cannière <olivier.decanniere@qt.io> | 2023-02-09 13:02:01 +0100 |
commit | d2c8fe712a87a247864decd9d13167f847035aab (patch) | |
tree | d79e36abe66f95b8d22d287e4c60ba2ab30e32dd /src/qml/jsruntime/qv4function.cpp | |
parent | 2af8743aab51287ec914d25176ae0fc45202db32 (diff) | |
download | qtdeclarative-d2c8fe712a87a247864decd9d13167f847035aab.tar.gz |
UrlObject: Fix setting searchParams not modifying the url's search field
Previously, setting the search params via the searchParams.set() method
did not change the url's search field. The searchParams object now has a
back pointer to the urlObject it belongs to. Whenever a search param is
set, the url search field is also updated.
The tst_qv4urlobject test was also added to check proper behavior.
Pick-to: 6.5
Task-number: QTBUG-110454
Change-Id: I3b0e843395da8a0e5aedcf71895981f68560d9c6
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4function.cpp')
0 files changed, 0 insertions, 0 deletions