aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/jsruntime/qv4engine_p.h
diff options
context:
space:
mode:
authorUlf Hermann <[email protected]>2024-12-11 16:36:10 +0100
committerUlf Hermann <[email protected]>2024-12-17 20:49:39 +0100
commitce0a16c0800fb1d5bb64783c424274b0a8bd4d43 (patch)
treec761d31445f7c11c3c9ee5411b2dd72d4d96a44f /src/qml/jsruntime/qv4engine_p.h
parentf446f31079f7ac20e6d9ac0a28abba6d44a3709b (diff)
QtQml: Generalize the global/illegal names
Instead of passing them around everywhere, use the ones we statically know and only validate them when creating a new engine. Task-number: QTBUG-131721 Change-Id: I7fb93d15eb6e4194c46249727bcf7a48f5dce730 Reviewed-by: Fabian Kosmale <[email protected]>
Diffstat (limited to 'src/qml/jsruntime/qv4engine_p.h')
-rw-r--r--src/qml/jsruntime/qv4engine_p.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index ebf337a9ce..0404730e84 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -716,9 +716,6 @@ public:
void freezeObject(const QV4::Value &value);
void lockObject(const QV4::Value &value);
- // Return the list of illegal id names (the names of the properties on the global object)
- const QSet<QString> &illegalNames() const;
-
#if QT_CONFIG(qml_xml_http_request)
void *xmlHttpRequestData() const { return m_xmlHttpRequestData; }
#endif
@@ -860,7 +857,6 @@ private:
QScopedPointer<QV4::Debugging::Debugger> m_debugger;
QScopedPointer<QV4::Profiling::Profiler> m_profiler;
#endif
- QSet<QString> m_illegalNames;
// used by generated Promise objects to handle 'then' events
QScopedPointer<QV4::Promise::ReactionHandler> m_reactionHandler;