diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2021-04-14 15:14:33 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-04-15 04:09:38 +0000 |
commit | 16722743ceb59a5e60a05121773c6599a02cab20 (patch) | |
tree | d84094420954eeca9123682110e9dc7963a54a09 /src/qml/jsruntime/qv4include.cpp | |
parent | bcd7b0fe55355d7d4de7d38a0c8a22e5c0e1e6aa (diff) |
Check thisObject when calling various methods on URL
We should not crash when you try to call them on the wrong object.
Rather, throw a type error.
Change-Id: I1b146d9c77d838e013408988e02a65a623641f1f
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit f32436122f6ac16bfd6f23228b85a6f7c12502b6)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/qml/jsruntime/qv4include.cpp')
0 files changed, 0 insertions, 0 deletions