aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4managed.cpp
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-04-02 15:48:17 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2020-04-08 14:53:30 +0200
commitfaa3e0b41e12ad36bb45272dbcb3991fd99f3836 (patch)
tree98bc1937b82b514699fd64785df38fbce79ca9a0 /src/qml/jsruntime/qv4managed.cpp
parent399ebb5635efc897d29efba90f92f931843b266a (diff)
Implement URL object
Implements the JavaScript URL object (https://url.spec.whatwg.org/#api). Except that it does not currently implement the searchParams field. Task-number: QTBUG-54988 Change-Id: I19abc69e075cbf84bd15e6791be195ce16f3fe73 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4managed.cpp')
-rw-r--r--src/qml/jsruntime/qv4managed.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qml/jsruntime/qv4managed.cpp b/src/qml/jsruntime/qv4managed.cpp
index d51b03d90b..8a0e5509c4 100644
--- a/src/qml/jsruntime/qv4managed.cpp
+++ b/src/qml/jsruntime/qv4managed.cpp
@@ -105,6 +105,9 @@ QString Managed::className() const
case Type_MathObject:
s = "Math";
break;
+ case Type_UrlObject:
+ s = "URL";
+ break;
case Type_ExecutionContext:
s = "__ExecutionContext";