summaryrefslogtreecommitdiff
path: root/tests/auto/qml/data/receiveRaw.html
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/data/receiveRaw.html')
-rw-r--r--tests/auto/qml/data/receiveRaw.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/auto/qml/data/receiveRaw.html b/tests/auto/qml/data/receiveRaw.html
new file mode 100644
index 0000000..139b2b1
--- /dev/null
+++ b/tests/auto/qml/data/receiveRaw.html
@@ -0,0 +1,15 @@
+<html>
+ <head>
+ <script type="text/javascript" src="qrc:///qwebchannel/qwebchannel.js"></script>
+ <script type="text/javascript" src="testsetup.js"></script>
+ <script type="text/javascript">
+ //BEGIN SETUP
+ createWebChannel(function(channel) {
+ channel.send("foobar");
+ }, true /* raw */);
+ //END SETUP
+ </script>
+ </head>
+ <body>
+ </body>
+</html>