summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html')
-rw-r--r--tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html b/tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html
new file mode 100644
index 000000000..af40f6a2b
--- /dev/null
+++ b/tests/auto/widgets/qwebenginescript/resources/webChannelWithBadString.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>webChannelWithBadString</title>
+ </head>
+ <body>
+ <script src="/qwebchannel.js"></script>
+ <script type="text/javascript">
+ new QWebChannel(qt.webChannelTransport, (channel) => {
+ channel.objects.host.text = String.fromCharCode(0xD800);
+ });
+ </script>
+ </body>
+</html>