aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/compiler/qv4codegen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/compiler/qv4codegen.cpp')
-rw-r--r--src/qml/compiler/qv4codegen.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/qml/compiler/qv4codegen.cpp b/src/qml/compiler/qv4codegen.cpp
index aaaa4aebf6..de08c4fd08 100644
--- a/src/qml/compiler/qv4codegen.cpp
+++ b/src/qml/compiler/qv4codegen.cpp
@@ -113,6 +113,7 @@ const char *Codegen::s_globalNames[] = {
"ArrayBuffer",
"Atomics",
"Boolean",
+ "DOMException",
"DataView",
"Date",
"Error",
@@ -132,10 +133,15 @@ const char *Codegen::s_globalNames[] = {
"Object",
"Promise",
"Proxy",
+ "QT_TRANSLATE_NOOP",
+ "QT_TRID_NOOP",
+ "QT_TR_NOOP",
+ "Qt",
"RangeError",
"ReferenceError",
"Reflect",
"RegExp",
+ "SQLException",
"Set",
"SharedArrayBuffer",
"String",
@@ -143,22 +149,31 @@ const char *Codegen::s_globalNames[] = {
"SyntaxError",
"TypeError",
"URIError",
+ "URL",
+ "URLSearchParams",
"Uint16Array",
"Uint32Array",
"Uint8Array",
"Uint8ClampedArray",
"WeakMap",
"WeakSet",
+ "XMLHttpRequest",
+ "console",
"decodeURI",
"decodeURIComponent",
"encodeURI",
"encodeURIComponent",
"escape",
"eval",
+ "gc",
"isFinite",
"isNaN",
"parseFloat",
"parseInt",
+ "print",
+ "qsTr",
+ "qsTrId",
+ "qsTranslate",
"undefined",
"unescape",
nullptr